mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
laying out code for next version
This commit is contained in:
parent
eedee9d567
commit
4d9333d105
@ -551,10 +551,53 @@
|
||||
echo " </tr>\n";
|
||||
}
|
||||
}
|
||||
function v0_9_5to0_9_6(){
|
||||
global $currentver, $phpgw_info, $db;
|
||||
|
||||
if ($currentver == "0.9.5" || ereg ("^0\.9\.6pre", $currentver)){
|
||||
if ($currentver == "0.9.5") {
|
||||
// upgrade code starts here
|
||||
|
||||
// upgrade code ends here
|
||||
$currentver = "0.9.6pre1";
|
||||
update_version_table();
|
||||
}
|
||||
if ($currentver == "0.9.6pre1") {
|
||||
$currentver = "0.9.6pre2";
|
||||
update_version_table();
|
||||
}
|
||||
|
||||
echo " <tr bgcolor=\"e6e6e6\">\n";
|
||||
echo " <td>Upgrade from 0.9.5 to $currentver is completed.</td>\n";
|
||||
echo " </tr>\n";
|
||||
}
|
||||
}
|
||||
function v0_9_6to0_9_7(){
|
||||
global $currentver, $phpgw_info, $db;
|
||||
|
||||
if ($currentver == "0.9.6" || ereg ("^0\.9\.7pre", $currentver)){
|
||||
if ($currentver == "0.9.6") {
|
||||
// upgrade code starts here
|
||||
|
||||
// upgrade code ends here
|
||||
$currentver = "0.9.7pre1";
|
||||
update_version_table();
|
||||
}
|
||||
if ($currentver == "0.9.7pre1") {
|
||||
$currentver = "0.9.7pre2";
|
||||
update_version_table();
|
||||
}
|
||||
|
||||
echo " <tr bgcolor=\"e6e6e6\">\n";
|
||||
echo " <td>Upgrade from 0.9.6 to $currentver is completed.</td>\n";
|
||||
echo " </tr>\n";
|
||||
}
|
||||
}
|
||||
|
||||
v0_9_1to0_9_2();
|
||||
v0_9_2to0_9_3();
|
||||
v0_9_3to0_9_4();
|
||||
v0_9_4to0_9_5();
|
||||
|
||||
?>
|
||||
v0_9_5to0_9_6();
|
||||
v0_9_6to0_9_7();
|
||||
?>
|
@ -561,10 +561,53 @@
|
||||
echo " </tr>\n";
|
||||
}
|
||||
}
|
||||
function v0_9_5to0_9_6(){
|
||||
global $currentver, $phpgw_info, $db;
|
||||
|
||||
if ($currentver == "0.9.5" || ereg ("^0\.9\.6pre", $currentver)){
|
||||
if ($currentver == "0.9.5") {
|
||||
// upgrade code starts here
|
||||
|
||||
// upgrade code ends here
|
||||
$currentver = "0.9.6pre1";
|
||||
update_version_table();
|
||||
}
|
||||
if ($currentver == "0.9.6pre1") {
|
||||
$currentver = "0.9.6pre2";
|
||||
update_version_table();
|
||||
}
|
||||
|
||||
echo " <tr bgcolor=\"e6e6e6\">\n";
|
||||
echo " <td>Upgrade from 0.9.5 to $currentver is completed.</td>\n";
|
||||
echo " </tr>\n";
|
||||
}
|
||||
}
|
||||
function v0_9_6to0_9_7(){
|
||||
global $currentver, $phpgw_info, $db;
|
||||
|
||||
if ($currentver == "0.9.6" || ereg ("^0\.9\.7pre", $currentver)){
|
||||
if ($currentver == "0.9.6") {
|
||||
// upgrade code starts here
|
||||
|
||||
// upgrade code ends here
|
||||
$currentver = "0.9.7pre1";
|
||||
update_version_table();
|
||||
}
|
||||
if ($currentver == "0.9.7pre1") {
|
||||
$currentver = "0.9.7pre2";
|
||||
update_version_table();
|
||||
}
|
||||
|
||||
echo " <tr bgcolor=\"e6e6e6\">\n";
|
||||
echo " <td>Upgrade from 0.9.6 to $currentver is completed.</td>\n";
|
||||
echo " </tr>\n";
|
||||
}
|
||||
}
|
||||
|
||||
v0_9_1to0_9_2();
|
||||
v0_9_2to0_9_3();
|
||||
v0_9_3to0_9_4();
|
||||
v0_9_4to0_9_5();
|
||||
|
||||
?>
|
||||
v0_9_5to0_9_6();
|
||||
v0_9_6to0_9_7();
|
||||
?>
|
Loading…
Reference in New Issue
Block a user