Merge branch 'MDL-74141-311' of https://github.com/sarjona/moodle into MOODLE_311_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2022-03-15 23:38:26 +01:00
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -1116,7 +1116,7 @@ class manager {
if (!self::is_runnable()) {
$redirecturl = new \moodle_url('/admin/settings.php', ['section' => 'systempaths']);
throw new \moodle_exception('cannotfindthepathtothecli', 'core_task', $redirecturl->out());
throw new \moodle_exception('cannotfindthepathtothecli', 'tool_task', $redirecturl->out());
} else {
// Shell-escaped path to the PHP binary.
$phpbinary = escapeshellarg(self::find_php_cli_path());