diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-05-05 07:32:27 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-05-05 07:32:27 +0000 |
commit | 75f748cdade9cefd7fbc2e7bf41c2466f9eec2e6 (patch) | |
tree | 1c2a2195da59d618aaecb336f0a33f438c4cb282 /database | |
parent | e274f97c879bff059511472a4d14a3584941393e (diff) | |
download | brdo-75f748cdade9cefd7fbc2e7bf41c2466f9eec2e6.tar.gz brdo-75f748cdade9cefd7fbc2e7bf41c2466f9eec2e6.tar.bz2 |
- Rollback to previous version.
Diffstat (limited to 'database')
-rw-r--r-- | database/updates.inc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/database/updates.inc b/database/updates.inc index c969a51c9..e1e33734e 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -2407,24 +2407,6 @@ function update_132() { return $ret; } -function update_130() { - $ret = array(); - - if ($GLOBALS['db_type'] == 'mysql') { - $ret[] = update_sql("ALTER TABLE {locales_source} CHANGE location location varchar(255) NOT NULL default ''"); - } - elseif ($GLOBALS['db_type'] == 'pgsql') { - $ret[] = update_sql("ALTER TABLE {locales_source} RENAME location TO location_old"); - $ret[] = update_sql("ALTER TABLE {locales_source} ADD location varchar(255)"); - $ret[] = update_sql("ALTER TABLE {locales_source} ALTER location SET NOT NULL"); - $ret[] = update_sql("ALTER TABLE {locales_source} ALTER location SET DEFAULT ''"); - $ret[] = update_sql("UPDATE {locales_source} SET location = location_old"); - $ret[] = update_sql("ALTER TABLE {locales_source} DROP location_old"); - } - - return $ret; -} - function update_133() { $ret[] = update_sql("CREATE TABLE {contact} ( subject varchar(255) NOT NULL default '', |