From 75f748cdade9cefd7fbc2e7bf41c2466f9eec2e6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 5 May 2005 07:32:27 +0000 Subject: - Rollback to previous version. --- database/updates.inc | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'database') 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 '', -- cgit v1.2.3