summaryrefslogtreecommitdiff
path: root/cron.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-03-29 19:50:31 +0000
committerDries Buytaert <dries@buytaert.net>2001-03-29 19:50:31 +0000
commit04ad9b8af902385be50011360da2a2dc9b9785be (patch)
treeed748dd5256076bdaafe7474ca1287acc515e5ae /cron.php
parent57eb908a8fe4e4d1ae7b9021c34903ef7267481d (diff)
downloadbrdo-04ad9b8af902385be50011360da2a2dc9b9785be.tar.gz
brdo-04ad9b8af902385be50011360da2a2dc9b9785be.tar.bz2
- 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
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php5
1 files changed, 1 insertions, 4 deletions
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");