updates were not setting the table versions to the new version number

This commit is contained in:
seek3r 2000-11-28 04:07:04 +00:00
parent fad064074b
commit ce7bd74048
2 changed files with 12 additions and 6 deletions

View File

@ -568,13 +568,16 @@
if ($currentver == "0.9.6" || ereg ("^0\.9\.7pre", $currentver)){ if ($currentver == "0.9.6" || ereg ("^0\.9\.7pre", $currentver)){
if ($currentver == "0.9.6") { if ($currentver == "0.9.6") {
// upgrade code starts here // upgrade code starts here
// upgrade code ends here // upgrade code ends here
$currentver = "0.9.7pre1"; $currentver = "0.9.7pre1";
update_version_table(); update_version_table();
} }
if ($currentver == "0.9.7pre1") { if ($currentver == "0.9.7pre1") {
// upgrade code starts here
// upgrade code ends here
$currentver = "0.9.7pre2"; $currentver = "0.9.7pre2";
update_version_table(); update_version_table();
} }
@ -590,5 +593,5 @@
v0_9_3to0_9_4(); v0_9_3to0_9_4();
v0_9_4to0_9_5(); v0_9_4to0_9_5();
v0_9_5to0_9_6(); v0_9_5to0_9_6();
//v0_9_6to0_9_7(); v0_9_6to0_9_7();
?> ?>

View File

@ -578,13 +578,16 @@
if ($currentver == "0.9.6" || ereg ("^0\.9\.7pre", $currentver)){ if ($currentver == "0.9.6" || ereg ("^0\.9\.7pre", $currentver)){
if ($currentver == "0.9.6") { if ($currentver == "0.9.6") {
// upgrade code starts here // upgrade code starts here
// upgrade code ends here // upgrade code ends here
$currentver = "0.9.7pre1"; $currentver = "0.9.7pre1";
update_version_table(); update_version_table();
} }
if ($currentver == "0.9.7pre1") { if ($currentver == "0.9.7pre1") {
// upgrade code starts here
// upgrade code ends here
$currentver = "0.9.7pre2"; $currentver = "0.9.7pre2";
update_version_table(); update_version_table();
} }
@ -600,5 +603,5 @@
v0_9_3to0_9_4(); v0_9_3to0_9_4();
v0_9_4to0_9_5(); v0_9_4to0_9_5();
v0_9_5to0_9_6(); v0_9_5to0_9_6();
//v0_9_6to0_9_7(); v0_9_6to0_9_7();
?> ?>