]> git.mxchange.org Git - friendica.git/blobdiff - mod/acl.php
Replace deprecated Addon::callHooks with Hook::callAll
[friendica.git] / mod / acl.php
index 9f93b76a9b5bd88686d267e7c590d081ffac8cae..fc67556739cc499e080947ed6d02c675c015c9fa 100644 (file)
@@ -5,7 +5,7 @@
 use Friendica\App;
 use Friendica\Content\Widget;
 use Friendica\Core\ACL;
-use Friendica\Core\Addon;
+use Friendica\Core\Hook;
 use Friendica\Core\Logger;
 use Friendica\Core\Protocol;
 use Friendica\Database\DBA;
@@ -305,7 +305,7 @@ function acl_content(App $a)
                'search'   => $search,
        ];
 
-       Addon::callHooks('acl_lookup_end', $results);
+       Hook::callAll('acl_lookup_end', $results);
 
        $o = [
                'tot'   => $results['tot'],