summaryrefslogtreecommitdiff
path: root/cron.php
diff options
context:
space:
mode:
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 140a4202f..a65351ae1 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");
?>