CronHooks now works again.
This commit is contained in:
parent
476facde61
commit
42a89b101b
|
@ -14,7 +14,7 @@ Class CronHooks {
|
||||||
foreach ($a->hooks["cron"] as $single_hook) {
|
foreach ($a->hooks["cron"] as $single_hook) {
|
||||||
if ($single_hook[1] == $hook) {
|
if ($single_hook[1] == $hook) {
|
||||||
logger("Calling cron hook '" . $hook . "'", LOGGER_DEBUG);
|
logger("Calling cron hook '" . $hook . "'", LOGGER_DEBUG);
|
||||||
call_single_hook($a, $name, $hook, $data);
|
call_single_hook($a, $name, $single_hook, $data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user