using Config::get (automatically use the right cache)

This commit is contained in:
Philipp Holzer 2019-02-05 23:09:57 +01:00
parent 87acace660
commit 40d8b04795
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -48,7 +48,7 @@ function friendica_init(App $a)
Config::load('feature_lock');
$locked_features = [];
$featureLock = $config->get('config', 'feature_lock');
$featureLock = Config::get('config', 'feature_lock');
if (isset($featureLock)) {
foreach ($featureLock as $k => $v) {
if ($k === 'config_loaded') {