mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 01:48:35 +01:00
fixed version mess
This commit is contained in:
parent
9ad8619e72
commit
45e1cba657
@ -74,7 +74,7 @@
|
|||||||
global $currentver, $phpgw_info, $db;
|
global $currentver, $phpgw_info, $db;
|
||||||
|
|
||||||
// The 0.9.3pre1 is only temp until release
|
// The 0.9.3pre1 is only temp until release
|
||||||
if ($currentver == "0.9.2" || $currentver == "0.9.3pre1" || $currentver == "0.9.3pre2" || $currentver == "0.9.3pre3" || $currentver == "0.9.3pre4" || $currentver == "0.9.3pre5" || $currentver == "0.9.3pre6" || $currentver == "0.9.3pre7") {
|
if ($currentver == "0.9.2" || $currentver == "0.9.3pre1" || $currentver == "0.9.3pre2" || $currentver == "0.9.3pre3" || $currentver == "0.9.3pre4" || $currentver == "0.9.3pre5" || $currentver == "0.9.3pre6" || $currentver == "0.9.3pre7" || $currentver == "0.9.3pre8" || $currentver == "0.9.3pre9") {
|
||||||
if ($currentver == "0.9.2" || $currentver == "0.9.3pre1") {
|
if ($currentver == "0.9.2" || $currentver == "0.9.3pre1") {
|
||||||
v0_9_2to0_9_3update_owner("addressbook","ab_owner");
|
v0_9_2to0_9_3update_owner("addressbook","ab_owner");
|
||||||
v0_9_2to0_9_3update_owner("todo","todo_owner");
|
v0_9_2to0_9_3update_owner("todo","todo_owner");
|
||||||
@ -109,10 +109,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();
|
||||||
}
|
}
|
||||||
@ -285,6 +281,16 @@
|
|||||||
update_version_table();
|
update_version_table();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($currentver == "0.9.3pre8") {
|
||||||
|
$currentver = "0.9.3pre9";
|
||||||
|
update_version_table();
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($currentver == "0.9.3pre9") {
|
||||||
|
$currentver = "0.9.3pre10";
|
||||||
|
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";
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
global $currentver, $phpgw_info, $db;
|
global $currentver, $phpgw_info, $db;
|
||||||
|
|
||||||
// The 0.9.3pre1 is only temp until release
|
// The 0.9.3pre1 is only temp until release
|
||||||
if ($currentver == "0.9.2" || $currentver == "0.9.3pre1" || $currentver == "0.9.3pre2" || $currentver == "0.9.3pre3" || $currentver == "0.9.3pre4" || $currentver == "0.9.3pre5" || $currentver == "0.9.3pre6" || $currentver == "0.9.3pre7") {
|
if ($currentver == "0.9.2" || $currentver == "0.9.3pre1" || $currentver == "0.9.3pre2" || $currentver == "0.9.3pre3" || $currentver == "0.9.3pre4" || $currentver == "0.9.3pre5" || $currentver == "0.9.3pre6" || $currentver == "0.9.3pre7" || $currentver == "0.9.3pre8" || $currentver == "0.9.3pre9") {
|
||||||
if ($currentver == "0.9.2" || $currentver == "0.9.3pre1") {
|
if ($currentver == "0.9.2" || $currentver == "0.9.3pre1") {
|
||||||
update_owner("addressbook","ab_owner");
|
update_owner("addressbook","ab_owner");
|
||||||
update_owner("todo","todo_owner");
|
update_owner("todo","todo_owner");
|
||||||
@ -287,6 +287,16 @@
|
|||||||
update_version_table();
|
update_version_table();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($currentver == "0.9.3pre8") {
|
||||||
|
$currentver = "0.9.3pre9";
|
||||||
|
update_version_table();
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($currentver == "0.9.3pre9") {
|
||||||
|
$currentver = "0.9.3pre10";
|
||||||
|
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";
|
||||||
|
Loading…
Reference in New Issue
Block a user