From 42a89b101b9e9ab5aaa1c5023f9a0b06641d4581 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 12 Nov 2017 21:32:10 +0000 Subject: [PATCH] CronHooks now works again. --- src/Worker/CronHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/CronHooks.php b/src/Worker/CronHooks.php index e44aa91904..42670eb238 100644 --- a/src/Worker/CronHooks.php +++ b/src/Worker/CronHooks.php @@ -14,7 +14,7 @@ Class CronHooks { foreach ($a->hooks["cron"] as $single_hook) { if ($single_hook[1] == $hook) { logger("Calling cron hook '" . $hook . "'", LOGGER_DEBUG); - call_single_hook($a, $name, $hook, $data); + call_single_hook($a, $name, $single_hook, $data); } } return; -- 2.39.5