]> git.mxchange.org Git - friendica.git/blobdiff - mod/xrd.php
Replace deprecated Addon::callHooks with Hook::callAll
[friendica.git] / mod / xrd.php
index b470197a2e1e3bfb05a642215de773322a7b139a..1b3b4f3cc1c6b5e9f06a8e14c046fa0e4b9ff639 100644 (file)
@@ -4,7 +4,7 @@
  */
 
 use Friendica\App;
-use Friendica\Core\Addon;
+use Friendica\Core\Hook;
 use Friendica\Core\Renderer;
 use Friendica\Core\System;
 use Friendica\Database\DBA;
@@ -127,7 +127,7 @@ function xrd_xml($a, $uri, $alias, $profile_url, $r)
        );
 
        $arr = ['user' => $r, 'xml' => $o];
-       Addon::callHooks('personal_xrd', $arr);
+       Hook::callAll('personal_xrd', $arr);
 
        echo $arr['xml'];
        exit();