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
|
@ -3,6 +3,7 @@
|
|||
* @file mod/xrd.php
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Protocol\Salmon;
|
||||
|
@ -109,7 +110,7 @@ function xrd_xml($a, $uri, $alias, $profile_url, $r)
|
|||
);
|
||||
|
||||
$arr = ['user' => $r, 'xml' => $o];
|
||||
call_hooks('personal_xrd', $arr);
|
||||
Addon::callHooks('personal_xrd', $arr);
|
||||
|
||||
echo $arr['xml'];
|
||||
killme();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue