diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-29 19:50:31 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-29 19:50:31 +0000 |
commit | 04ad9b8af902385be50011360da2a2dc9b9785be (patch) | |
tree | ed748dd5256076bdaafe7474ca1287acc515e5ae /cron.php | |
parent | 57eb908a8fe4e4d1ae7b9021c34903ef7267481d (diff) | |
download | brdo-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.php | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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"); |