Move PConfig::get() to DI::pConfig()->get()

This commit is contained in:
Philipp Holzer 2020-01-18 16:50:57 +01:00
commit 9e9429b56d
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
61 changed files with 190 additions and 179 deletions

View file

@ -9,6 +9,7 @@ use Friendica\Core\L10n;
use Friendica\Core\PConfig;
use Friendica\Core\Renderer;
use Friendica\Core\System;
use Friendica\DI;
require_once __DIR__ . '/theme.php';
@ -22,7 +23,7 @@ function theme_content(App $a)
return;
}
$style = PConfig::get(local_user(), 'vier', 'style');
$style = DI::pConfig()->get(local_user(), 'vier', 'style');
if ($style == "") {
$style = Config::get('vier', 'style');