From 0ddfd29cfd3e3c5f8c960a5825d901cd52044210 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 15 Jan 2006 17:13:30 +0000 Subject: - Patch #44286 by Neil, Zen, et al: a couple fixes to the upgrade path. --- database/updates.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'database') diff --git a/database/updates.inc b/database/updates.inc index a79edcea1..65fc6ba13 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -481,7 +481,7 @@ function system_update_132() { */ $ret = array(); - if (variable_get('update_132_done', FALSE)) { + if (!variable_get('update_132_done', FALSE)) { if ($GLOBALS['db_type'] == 'pgsql') { $ret[] = update_sql('DROP TABLE {search_total}'); $ret[] = update_sql("CREATE TABLE {search_total} ( @@ -530,7 +530,7 @@ function system_update_134() { } function system_update_135() { - if (variable_get('update_135_done', FALSE)) { + if (!variable_get('update_135_done', FALSE)) { $result = db_query("SELECT delta FROM {blocks} WHERE module = 'aggregator'"); while ($block = db_fetch_object($result)) { list($type, $id) = explode(':', $block->delta); @@ -565,7 +565,7 @@ function system_update_136() { function system_update_137() { $ret = array(); - if (variable_get('update_137_done', FALSE)) { + if (!variable_get('update_137_done', FALSE)) { if ($GLOBALS['db_type'] == 'mysql') { $ret[] = update_sql("ALTER TABLE {locales_source} CHANGE location location varchar(255) NOT NULL default ''"); } -- cgit v1.2.3