using Config::get (automatically use the right cache)
authorPhilipp Holzer <admin@philipp.info>
Tue, 5 Feb 2019 22:09:57 +0000 (23:09 +0100)
committerPhilipp Holzer <admin@philipp.info>
Tue, 5 Feb 2019 22:09:57 +0000 (23:09 +0100)
mod/friendica.php

index 77daabd..80d5f34 100644 (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') {