]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/CronHooks.php
"last-child" is not used anymore
[friendica.git] / src / Worker / CronHooks.php
index 22109931feb75703215573ed36b6c5dd6f94fc26..fed65b2291e757d484dd8a963456a981c1a14eb6 100644 (file)
@@ -18,7 +18,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, $single_hook, $data);
+                                       call_single_hook($a, $hook, $single_hook);
                                }
                        }
                        return;