]> git.mxchange.org Git - friendica.git/blobdiff - mod/lockview.php
Update Addon functions and calls
[friendica.git] / mod / lockview.php
index ced03d1b569edb707141b176bbb1ea5004cebbe0..ead2269c7a98d0341a02cb26986fb38101ebbafe 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\Addon;
 use Friendica\Database\DBM;
 
 function lockview_content(App $a) {
@@ -28,7 +29,7 @@ function lockview_content(App $a) {
        }
        $item = $r[0];
 
-       call_hooks('lockview_content', $item);
+       Addon::callHooks('lockview_content', $item);
 
        if($item['uid'] != local_user()) {
                echo t('Remote privacy information not available.') . '<br />';