]> git.mxchange.org Git - friendica.git/commitdiff
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 77daabd1506782d9db995f4529482617b9c545c7..80d5f34cc814ee0da16d24cd9d7c31a216079ff4 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') {