1
1
Fork 0

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'); Config::load('feature_lock');
$locked_features = []; $locked_features = [];
$featureLock = $config->get('config', 'feature_lock'); $featureLock = Config::get('config', 'feature_lock');
if (isset($featureLock)) { if (isset($featureLock)) {
foreach ($featureLock as $k => $v) { foreach ($featureLock as $k => $v) {
if ($k === 'config_loaded') { if ($k === 'config_loaded') {