Move Config::get() to DI::config()->get()
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ function profperm_content(App $a) {
|
||||
|
||||
$switchtotext = DI::pConfig()->get(local_user(),'system','groupedit_image_limit');
|
||||
if (is_null($switchtotext)) {
|
||||
$switchtotext = Config::get('system','groupedit_image_limit', 400);
|
||||
$switchtotext = DI::config()->get('system','groupedit_image_limit', 400);
|
||||
}
|
||||
|
||||
if (($a->argc > 2) && intval($a->argv[1]) && intval($a->argv[2])) {
|
||||
|
||||
Reference in New Issue
Block a user