mirror of
https://github.com/friendica/friendica
synced 2025-04-19 11:10:10 +00:00
Move Config::set() to DI::config()->set()
This commit is contained in:
parent
6c36fd9e01
commit
3411ced833
29 changed files with 213 additions and 229 deletions
|
@ -29,10 +29,10 @@ class Features extends BaseAdminModule
|
|||
} else {
|
||||
$val = 0;
|
||||
}
|
||||
Config::set('feature', $feature, $val);
|
||||
DI::config()->set('feature', $feature, $val);
|
||||
|
||||
if (!empty($_POST[$featurelock])) {
|
||||
Config::set('feature_lock', $feature, $val);
|
||||
DI::config()->set('feature_lock', $feature, $val);
|
||||
} else {
|
||||
Config::delete('feature_lock', $feature);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue