mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
search cron was killing the rest of cron tasks!
Merged from MOODLE_18_STABLE
This commit is contained in:
parent
afd1ec0223
commit
b595c18cca
@ -16,7 +16,8 @@
|
||||
require_once("$CFG->dirroot/search/lib.php");
|
||||
|
||||
if (empty($CFG->enableglobalsearch)) {
|
||||
error('Global searching is not enabled.');
|
||||
mtrace('Global searching is not enabled.');
|
||||
return;
|
||||
}
|
||||
|
||||
mtrace("<pre>Starting cron...\n");
|
||||
@ -31,4 +32,4 @@
|
||||
|
||||
mtrace("cron finished.</pre>");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user