mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:50:17 +00:00
Remove App dependency from Hook::callSingle
- This was causing a circular dependency with the logger_instance hook
This commit is contained in:
parent
79d1506694
commit
e73adde5fb
8 changed files with 37 additions and 67 deletions
|
@ -51,7 +51,7 @@ class Expire
|
|||
foreach (Hook::getByName('expire') as $hook) {
|
||||
if ($hook[1] == $hook_function) {
|
||||
Logger::info('Calling expire hook', ['hook' => $hook[1]]);
|
||||
Hook::callSingle($a, 'expire', $hook, $data);
|
||||
Hook::callSingle('expire', $hook, $data);
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue