Skip to content

Commit

Permalink
Fix upgrade loop
Browse files Browse the repository at this point in the history
If user has upgraded send them to settings check instead of having the upgrade again.
  • Loading branch information
micke2k committed Mar 28, 2016
1 parent 589100b commit 5ac298e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -532,12 +532,12 @@ function install_file_paths () {
/* upgrade - if user runs old version send to upgrade-oldversion*/
} elseif (($step == '8') && ($old_version_index <= array_search('0.8.5a', $cacti_versions))) {
$step = '9';
/* upgrade - if user upgrades send to checkdependencies */
/* upgrade - if user upgrades send to settingscheck */
} elseif ($step == '8') {
$step = '3';
/* upgrade-oldversion - if user upgrades from old version send to checkdependencies */
$step = '4';
/* upgrade-oldversion - if user upgrades from old version send to settingscheck */
} elseif ($step == '9') {
$step = '3';
$step = '4';
/* settingscheck - send to settings-install */
} elseif ($step == '4') {
$step = '5';
Expand Down

0 comments on commit 5ac298e

Please sign in to comment.