diff options
Diffstat (limited to 'application/controllers/Tools.php')
-rw-r--r-- | application/controllers/Tools.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/application/controllers/Tools.php b/application/controllers/Tools.php index bb481db80..15f35cc9e 100644 --- a/application/controllers/Tools.php +++ b/application/controllers/Tools.php @@ -33,11 +33,10 @@ class Tools extends MY_Controller { if ($upgraded === true) { echo "Already at latest database version. No upgrade performed\n"; + return; } - if (is_int($upgraded)) { - echo "Database upgraded sucessfully to version: $upgraded\n"; - } + echo "Database upgraded sucessfully to version: $upgraded\n"; } function drop_all_tables() |