From: Philipp Holzer Date: Tue, 5 Feb 2019 22:09:57 +0000 (+0100) Subject: using Config::get (automatically use the right cache) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=40d8b047957ec6bfa47d4f6bdad0c361dc74fd52;p=friendica.git using Config::get (automatically use the right cache) --- diff --git a/mod/friendica.php b/mod/friendica.php index 77daabd150..80d5f34cc8 100644 --- a/mod/friendica.php +++ b/mod/friendica.php @@ -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') {