1
0
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,10 +1,14 @@
<?php
use Friendica\Core\Config;
use Friendica\Core\PConfig;
$uid = get_theme_uid();
$style = get_pconfig($uid, 'vier', 'style');
$style = PConfig::get($uid, 'vier', 'style');
if ($style == "")
$style = get_config('vier', 'style');
$style = Config::get('vier', 'style');
if ($style == "")
$style = "plus";