mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:50:12 +00:00
Move Config::get() to DI::config()->get()
This commit is contained in:
parent
5d294e8be8
commit
6c36fd9e01
126 changed files with 581 additions and 596 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 = DI::pConfig()->get(local_user(), 'system', 'groupedit_image_limit');
|
||||
if (is_null($switchtotext)) {
|
||||
$switchtotext = Config::get('system', 'groupedit_image_limit', 200);
|
||||
$switchtotext = DI::config()->get('system', 'groupedit_image_limit', 200);
|
||||
}
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate('group_edit.tpl');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue