]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15249 localized cli upgrade
authorskodak <skodak>
Sun, 31 May 2009 12:39:16 +0000 (12:39 +0000)
committerskodak <skodak>
Sun, 31 May 2009 12:39:16 +0000 (12:39 +0000)
admin/cli/reset_password.php
lang/en_utf8/admin.php

index 24f3bc57234a330886dd8cb5312834feb3c9d41d..fbe90c9fb942195b7ce3904c6b7052353b94b97c 100644 (file)
@@ -37,8 +37,6 @@ require_once($CFG->libdir.'/clilib.php');      // cli only functions
 list($options, $unrecognized) = cli_get_params(array('help'=>false),
                                                array('h'=>'help'));
 
-$interactive = empty($options['non-interactive']);
-
 if ($unrecognized) {
     $unrecognized = implode("\n  ", $unrecognized);
     cli_error(get_string('cliunknowoption', 'admin', $unrecognized));
index e8d256caef09b836531c4ac1bcee6405a6f7e6b2..04f16d48685d4fd6fa690f275c9ecb9de30daac0 100644 (file)
@@ -64,6 +64,7 @@ $string['cliansweryes'] = 'y';
 $string['cliincorrectvalueretry'] = 'Incorrect value, please retry';
 $string['clitypevalue'] = 'type value';
 $string['clitypevaluedefault'] = 'type value, press Enter to use default value ($a)';
+$string['cliupgradefinished'] = 'Command line upgrade completed successfully.';
 $string['cliyesnoprompt'] = 'type y (means yes) or n (means no)';
 $string['cliunknowoption'] = "Unrecognized options:\n  \$a\n. Please use --help option.";
 $string['commonfiltersettings'] = 'Common filter settings';