- #28944: Remove old bugfix code from update.php.

4.7.x
Steven Wittens 2005-08-17 00:49:36 +00:00
parent ac0c27b6c8
commit 1d29abfe34
1 changed files with 0 additions and 9 deletions

View File

@ -72,15 +72,6 @@ function update_page() {
break;
default:
// NOTE: We need the following five lines in order to fix a bug with
// database.mysql (issue #15337). We should be able to remove
// this work around in the future.
$result = db_query("SELECT * FROM {variable} WHERE name = 'update_start' AND value LIKE '%;\"'");
if ($variable = db_fetch_object($result)) {
$variable->value = unserialize(substr($variable->value, 0, -2) .'";');
variable_set('update_start', $variable->value);
}
$start = variable_get("update_start", 0);
$i = 1;
foreach ($sql_updates as $date => $sql) {