]> git.mxchange.org Git - friendica.git/commitdiff
CronHooks now works again.
authorMichael <heluecht@pirati.ca>
Sun, 12 Nov 2017 21:32:10 +0000 (21:32 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 12 Nov 2017 21:32:10 +0000 (21:32 +0000)
src/Worker/CronHooks.php

index e44aa91904b642dd6cd4e9a05e23b5a3cfad8eb5..42670eb2380f514dfe559c362c4ce1c2da21a537 100644 (file)
@@ -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;