Move PConfig::load() to DI::pConfig()->load()
This commit is contained in:
parent
71181704d4
commit
6e2880c679
2 changed files with 2 additions and 14 deletions
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\DI;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
require_once 'view/theme/frio/php/PHPColors/Color.php';
|
||||
|
|
@ -37,7 +38,7 @@ $login_bg_color = $login_bg_color ?: '#ededed';
|
|||
// Get the UID of the profile owner.
|
||||
$uid = $_REQUEST['puid'] ?? 0;
|
||||
if ($uid) {
|
||||
PConfig::load($uid, 'frio');
|
||||
DI::pConfig()->load($uid, 'frio');
|
||||
|
||||
// Only override display settings that have actually been set
|
||||
$scheme = PConfig::get($uid, 'frio', 'scheme', PConfig::get($uid, 'frio', 'schema')) ?: $scheme;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue