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

This commit is contained in:
nupplaPhil
2020-01-18 16:50:57 +01:00
parent 6e2880c679
commit 9e9429b56d
61 changed files with 190 additions and 179 deletions

View File

@@ -146,7 +146,7 @@ class Group extends BaseModule
}
// Switch to text mode interface if we have more than 'n' contacts or group members
$switchtotext = PConfig::get(local_user(), 'system', 'groupedit_image_limit');
$switchtotext = DI::pConfig()->get(local_user(), 'system', 'groupedit_image_limit');
if (is_null($switchtotext)) {
$switchtotext = Config::get('system', 'groupedit_image_limit', 200);
}