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") {
$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 " <tr bgcolor=\"e6e6e6\">\n";
echo " <td>Upgrade from 0.9.2 to $currentver is completed.</td>\n";
echo " </tr>\n";

View File

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

View File

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