From 04ad9b8af902385be50011360da2a2dc9b9785be Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 29 Mar 2001 19:50:31 +0000 Subject: - fixed issue depricated call-by-reference issues - fixed small visual glitch in includes/function.inc - changed SQL tables around a bit to be more consistent (result: small changes to a lot of different files) - improved robustness of includes/node.inc - improved output of cron.module - improved output of node.php --- cron.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cron.php') diff --git a/cron.php b/cron.php index 33114768b..d2d2ece5b 100644 --- a/cron.php +++ b/cron.php @@ -10,10 +10,7 @@ function cron_run() { $result = db_query("SELECT * FROM crons WHERE $time - timestamp > scheduled"); while ($task = db_fetch_object($result)) { - if ($repository[$task->module]["cron"]) { - watchdog("message", "cron: executed '". $task->module ."_cron()'"); - $repository[$task->module]["cron"](); - } + if ($repository[$task->module]["cron"]) $repository[$task->module]["cron"](); } db_query("UPDATE crons SET timestamp = $time WHERE $time - timestamp > scheduled"); -- cgit v1.2.3