CronHooks now works again.
This commit is contained in:
parent
476facde61
commit
42a89b101b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue