1
0
Fork 0

Update Addon functions and calls

Update function names and calls for Addon class.
This commit is contained in:
Adam Magness 2018-01-17 13:42:40 -05:00
commit 11cf36105c
73 changed files with 544 additions and 464 deletions

View 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 />';