mirror of
https://github.com/friendica/friendica
synced 2024-12-23 10:40:16 +00:00
Show lock status even when feature is disabled in Admin/Features
This commit is contained in:
parent
c76795f0f8
commit
e0cdb8a940
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class Features extends BaseAdmin
|
|||
DI::config()->set('feature', $feature, $val);
|
||||
|
||||
if (!empty($_POST[$featurelock])) {
|
||||
DI::config()->set('feature_lock', $feature, $val);
|
||||
DI::config()->set('feature_lock', $feature, 1);
|
||||
} else {
|
||||
DI::config()->delete('feature_lock', $feature);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue