Finishing things up for release

This commit is contained in:
jengo 2000-11-25 21:47:29 +00:00
parent 0d3f50604f
commit 64df13855e
2 changed files with 18 additions and 23 deletions

View File

@ -550,20 +550,19 @@
echo " </tr>\n";
}
}
function v0_9_5to0_9_6(){
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") {
$currentver = "0.9.6";
update_version_table();
}
$currentver = "0.9.6";
update_version_table();
echo " <tr bgcolor=\"e6e6e6\">\n";
echo " <td>Upgrade from 0.9.5 to $currentver is completed.</td>\n";
echo " </tr>\n";
}
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;

View File

@ -560,23 +560,19 @@
echo " </tr>\n";
}
}
function v0_9_5to0_9_6(){
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
$currentver = "0.9.6";
update_version_table();
// upgrade code ends here
$currentver = "0.9.6";
update_version_table();
}
echo " <tr bgcolor=\"e6e6e6\">\n";
echo " <td>Upgrade from 0.9.5 to $currentver is completed.</td>\n";
echo " </tr>\n";
}
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;