mirror of
https://github.com/friendica/friendica
synced 2025-04-19 09:50:11 +00:00
Move PConfig::get() to DI::pConfig()->get()
This commit is contained in:
parent
6e2880c679
commit
9e9429b56d
61 changed files with 190 additions and 179 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue