From 40d8b047957ec6bfa47d4f6bdad0c361dc74fd52 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Tue, 5 Feb 2019 23:09:57 +0100 Subject: [PATCH] using Config::get (automatically use the right cache) --- mod/friendica.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/friendica.php b/mod/friendica.php index 77daabd15..80d5f34cc 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') {