Got rid of the uneeded headlines table

This commit is contained in:
jengo 2000-11-12 09:00:58 +00:00
parent 4899f36f05
commit 5b4c78d22b
3 changed files with 17 additions and 4 deletions

View File

@ -295,9 +295,6 @@
if ($currentver == "0.9.3pre4") { if ($currentver == "0.9.3pre4") {
$db->query("alter table config change config_name config_name varchar(255) NOT NULL"); $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"; $currentver = "0.9.3pre5";
update_version_table(); update_version_table();
} }
@ -322,6 +319,14 @@
update_version_table(); 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 " <tr bgcolor=\"e6e6e6\">\n"; echo " <tr bgcolor=\"e6e6e6\">\n";
echo " <td>Upgrade from 0.9.2 to $currentver is completed.</td>\n"; echo " <td>Upgrade from 0.9.2 to $currentver is completed.</td>\n";
echo " </tr>\n"; echo " </tr>\n";

View File

@ -309,6 +309,14 @@
$currentver = "0.9.3pre7"; $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 " <tr bgcolor=\"e6e6e6\">\n"; echo " <tr bgcolor=\"e6e6e6\">\n";
echo " <td>Upgrade from 0.9.2 to $currentver is completed.</td>\n"; echo " <td>Upgrade from 0.9.2 to $currentver is completed.</td>\n";
echo " </tr>\n"; echo " </tr>\n";

View File

@ -1 +1 @@
<?php $phpgw_info["server"]["version"] = "0.9.3pre8"; ?> <?php $phpgw_info["server"]["version"] = "0.9.3pre9"; ?>