diff --git a/core/upgrade/upgrade.php b/core/upgrade/upgrade.php index f70ad7f163..a482708f50 100644 --- a/core/upgrade/upgrade.php +++ b/core/upgrade/upgrade.php @@ -209,12 +209,16 @@ } //set the menu back to default - if (isset($argv[2]) && (is_null($argv[2]) || $argv[2] == 'default')) { + if (!isset($argv[2]) || $argv[2] == 'default') { //restore the menu $included = true; require_once("core/menu/menu_restore_default.php"); unset($sel_menu); + //use upgrade language file + $language = new text; + $text = $language->get(null, 'core/upgrade'); + //send message to the console echo $text['message-upgrade_menu']."\n"; } @@ -229,6 +233,10 @@ $included = true; require_once("core/groups/permissions_default.php"); + //use upgrade language file + $language = new text; + $text = $language->get(null, 'core/upgrade'); + //send message to the console echo $text['message-upgrade_permissions']."\n"; } @@ -288,4 +296,4 @@ } } -?> +?> \ No newline at end of file