CronHooks now works again.

This commit is contained in:
Michael 2017-11-12 21:32:10 +00:00
parent 476facde61
commit 42a89b101b

View 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;