Fix undefined variable/wrong parameter count/unknown functions

This commit is contained in:
Hypolite Petovan 2017-12-17 15:31:37 -05:00
parent 4b5894817e
commit 2978b1eef0
16 changed files with 36 additions and 33 deletions

View file

@ -50,7 +50,7 @@ class Expire {
foreach ($a->hooks["expire"] as $hook) {
if ($hook[1] == $hook_name) {
logger("Calling expire hook '" . $hook[1] . "'", LOGGER_DEBUG);
call_single_hook($a, $name, $hook, $data);
call_single_hook($a, $hook_name, $hook, $data);
}
}
return;