From 5b4c78d22b2b4654b3613a2a6b50411d23f1a4fe Mon Sep 17 00:00:00 2001 From: jengo Date: Sun, 12 Nov 2000 09:00:58 +0000 Subject: [PATCH] Got rid of the uneeded headlines table --- setup/upgradetables_mysql.inc.php | 11 ++++++++--- setup/upgradetables_pgsql.inc.php | 8 ++++++++ version.inc.php | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/setup/upgradetables_mysql.inc.php b/setup/upgradetables_mysql.inc.php index 4af1311329..9b626d7a84 100644 --- a/setup/upgradetables_mysql.inc.php +++ b/setup/upgradetables_mysql.inc.php @@ -295,9 +295,6 @@ if ($currentver == "0.9.3pre4") { $db->query("alter table config change config_name config_name varchar(255) NOT NULL"); - // I decied too hold off on this table until 0.9.4pre1 (jengo) -// $db->query("create table domains (domain_id int NOT NULL auto_increment, domain_name varchar(255)," -// . "domain_database varchar(255),domain_status enum('Active,Disabled'),primary key(domain_id))"); $currentver = "0.9.3pre5"; update_version_table(); } @@ -322,6 +319,14 @@ update_version_table(); } + // What happened to 0.9.3pre7 :) (jengo) + + if ($currentver == "0.9.3pre8") { + $db->query("drop table users_headlines"); + $currentver = "0.9.3pre9"; + update_version_table(); + } + echo " \n"; echo " Upgrade from 0.9.2 to $currentver is completed.\n"; echo " \n"; diff --git a/setup/upgradetables_pgsql.inc.php b/setup/upgradetables_pgsql.inc.php index 2a280b180a..2aec71359a 100644 --- a/setup/upgradetables_pgsql.inc.php +++ b/setup/upgradetables_pgsql.inc.php @@ -308,6 +308,14 @@ $db->query("insert into applications (app_name, app_title, app_enabled, app_order, app_tables, app_version) values ('transy', 'Translation Management', 0, 13, NULL, '".$phpgw_info["server"]["version"]."')"); $currentver = "0.9.3pre7"; } + + // What happened to 0.9.3pre7 :) (jengo) + + if ($currentver == "0.9.3pre8") { + $db->query("drop table users_headlines"); + $currentver = "0.9.3pre9"; + update_version_table(); + } echo " \n"; echo " Upgrade from 0.9.2 to $currentver is completed.\n"; diff --git a/version.inc.php b/version.inc.php index 0850c447c3..6344cd65ca 100644 --- a/version.inc.php +++ b/version.inc.php @@ -1 +1 @@ - +