1
1
Fork 0

Issue-#3873

Replace deprecated functions with new syntax.
This commit is contained in:
Adam Magness 2017-11-06 21:22:52 -05:00
commit 0dfa57948f
124 changed files with 819 additions and 679 deletions

View file

@ -1,11 +1,12 @@
<?php
use Friendica\App;
use Friendica\Core\Config;
use Friendica\Core\System;
function hcard_init(App $a) {
$blocked = (((get_config('system','block_public')) && (! local_user()) && (! remote_user())) ? true : false);
$blocked = (((Config::get('system','block_public')) && (! local_user()) && (! remote_user())) ? true : false);
if ($a->argc > 1) {
$which = $a->argv[1];