]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Group.php
Merge pull request #8332 from MrPetovan/bug/8288-frio-preview-dropdown
[friendica.git] / src / Module / Group.php
index 6767479c3aa5fcb7b5b1ff2aa59734f0e95e70fe..11e7f1a760e5b4bbfe33e8b5028f9c9d573eb216 100644 (file)
@@ -1,12 +1,27 @@
 <?php
 /**
- * @file src/Module/Group.php
+ * @copyright Copyright (C) 2020, Friendica
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
+ *
  */
 
 namespace Friendica\Module;
 
 use Friendica\BaseModule;
-use Friendica\Core\Config;
 use Friendica\Core\Renderer;
 use Friendica\Core\System;
 use Friendica\Database\DBA;
@@ -146,7 +161,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');