search cron was killing the rest of cron tasks!

This commit is contained in:
stronk7
2007-07-30 23:40:41 +00:00
parent 66f8778519
commit 960192ec0e
+3 -2
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>");
?>
?>