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\Nav;
|
||||
use Friendica\Content\Widget;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Model\Contact;
|
||||
|
@ -174,7 +175,7 @@ function directory_content(App $a) {
|
|||
|
||||
$arr = ['contact' => $rr, 'entry' => $entry];
|
||||
|
||||
call_hooks('directory_item', $arr);
|
||||
Addon::callHooks('directory_item', $arr);
|
||||
|
||||
unset($profile);
|
||||
unset($location);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue