]> git.mxchange.org Git - friendica.git/blobdiff - mod/lockview.php
Replace deprecated Addon::callHooks with Hook::callAll
[friendica.git] / mod / lockview.php
index ef97cc91d0caa69054aeb81ee3a1d1da0068c774..35c4b043329ae4284250d95a398636407a3d5d8e 100644 (file)
@@ -3,7 +3,7 @@
  * @file mod/lockview.php
  */
 use Friendica\App;
-use Friendica\Core\Addon;
+use Friendica\Core\Hook;
 use Friendica\Core\L10n;
 use Friendica\Database\DBA;
 use Friendica\Model\Item;
@@ -40,7 +40,7 @@ function lockview_content(App $a)
                exit();
        }
 
-       Addon::callHooks('lockview_content', $item);
+       Hook::callAll('lockview_content', $item);
 
        if ($item['uid'] != local_user()) {
                echo L10n::t('Remote privacy information not available.') . '<br />';