X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FGroup.php;h=6542cc74a8b02abc984fbdc128a74cc368487bd3;hb=800694e9b36bc261a671a80b7ca787f27564a7ac;hp=ccb4f8bdf81381f7a8c35a31e01c0af67a30bf36;hpb=6d7362da4134cce31f28a5efa2c623a11f89afc2;p=friendica.git diff --git a/src/Module/Group.php b/src/Module/Group.php index ccb4f8bdf8..6542cc74a8 100644 --- a/src/Module/Group.php +++ b/src/Module/Group.php @@ -8,7 +8,6 @@ namespace Friendica\Module; use Friendica\BaseModule; use Friendica\Core\Config; use Friendica\Core\L10n; -use Friendica\Core\PConfig; use Friendica\Core\Renderer; use Friendica\Core\System; use Friendica\Database\DBA; @@ -146,7 +145,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); }