Move Config::get() to DI::config()->get()
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user