Update Addon functions and calls
Update function names and calls for Addon class.
This commit is contained in:
parent
213f6ae1a1
commit
11cf36105c
73 changed files with 544 additions and 464 deletions
|
@ -5,6 +5,7 @@
|
|||
|
||||
namespace Friendica\Worker;
|
||||
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Worker;
|
||||
|
||||
|
@ -18,7 +19,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, $hook, $single_hook);
|
||||
Addon::callSingleHook($a, $hook, $single_hook);
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue