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 @@
|
|||
use Friendica\App;
|
||||
use Friendica\Content\Feature;
|
||||
use Friendica\Content\ForumManager;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Cache;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\PConfig;
|
||||
|
@ -138,7 +139,7 @@ function ping_init(App $a)
|
|||
|
||||
if (DBM::is_result($items_unseen)) {
|
||||
$arr = ['items' => $items_unseen];
|
||||
call_hooks('network_ping', $arr);
|
||||
Addon::callHooks('network_ping', $arr);
|
||||
|
||||
foreach ($items_unseen as $item) {
|
||||
if ($item['wall']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue