diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-01-15 17:13:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-01-15 17:13:30 +0000 |
commit | 0ddfd29cfd3e3c5f8c960a5825d901cd52044210 (patch) | |
tree | 573e7e6c568ac228e8147f947169c52d58eb7be0 /database | |
parent | ae84e469b060c6e8df22080064221813575d0b28 (diff) | |
download | brdo-0ddfd29cfd3e3c5f8c960a5825d901cd52044210.tar.gz brdo-0ddfd29cfd3e3c5f8c960a5825d901cd52044210.tar.bz2 |
- Patch #44286 by Neil, Zen, et al: a couple fixes to the upgrade path.
Diffstat (limited to 'database')
-rw-r--r-- | database/updates.inc | 6 |
1 files changed, 3 insertions, 3 deletions
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 ''"); } |