From 9fbab016f937ce4c6e2d93e34b046f80c675fae6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 14 Sep 2003 18:33:16 +0000 Subject: - Tidied up the usage of module_invoke() and module_invoke_all(). Patch by Jonathan Chaffer. --- cron.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cron.php') 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"); ?> -- cgit v1.2.3