using Config::get (automatically use the right cache)
This commit is contained in:
parent
87acace660
commit
40d8b04795
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue
Block a user