Skip to content

Commit

Permalink
Merge pull request Cacti#32 from micke2k/features/installupdate
Browse files Browse the repository at this point in the history
Fix upgrade loop
  • Loading branch information
cigamit committed Mar 28, 2016
2 parents 2396323 + 5ac298e commit 9b08c15
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 9b08c15

Please sign in to comment.