summaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
authorDries Buytaert2003-09-14 18:33:16 +0000
committerDries Buytaert2003-09-14 18:33:16 +0000
commit9fbab016f937ce4c6e2d93e34b046f80c675fae6 (patch)
treecfb4de6b4a86ee61c6c783d82df99eedc85b7842 /cron.php
parentdf3afcbc449773f4768e5dc4b05e7fb2c1197283 (diff)
- Tidied up the usage of module_invoke() and module_invoke_all(). Patch by
Jonathan Chaffer.
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/cron.php b/cron.php
index 140a420..a65351a 100644
--- a/cron.php
+++ b/cron.php
@@ -15,9 +15,7 @@ if (!get_cfg_var("safe_mode")) {
** Iterate through the modules calling their cron handlers (if any):
*/
-foreach (module_list() as $module) {
- module_invoke($module, "cron");
-}
+module_invoke_all("cron");
watchdog("message", "cron run completed");
?>