search cron was killing the rest of cron tasks!

Merged from MOODLE_18_STABLE
This commit is contained in:
stronk7 2007-07-30 23:42:16 +00:00
parent afd1ec0223
commit b595c18cca

View File

@ -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>");
?>
?>