Move PConfig::set() to DI::pConfig()->set()

This commit is contained in:
nupplaPhil
2020-01-18 16:54:50 +01:00
parent 9e9429b56d
commit 88bb66371c
17 changed files with 68 additions and 82 deletions
+1 -1
View File
@@ -338,7 +338,7 @@ function profiles_post(App $a) {
$hide_friends = (($_POST['hide-friends'] == 1) ? 1: 0);
PConfig::set(local_user(), 'system', 'detailled_profile', !empty($_POST['detailed_profile']) ? 1: 0);
DI::pConfig()->set(local_user(), 'system', 'detailled_profile', !empty($_POST['detailed_profile']) ? 1: 0);
$changes = [];
if ($is_default) {