]> git.mxchange.org Git - friendica.git/blobdiff - mod/profperm.php
rename CSS attributes notify => notification
[friendica.git] / mod / profperm.php
index 5c4325048d2dfd34975e1365754b1844895930f7..f17d1d66b7bcccdf963fc4e0d4a454e5a47f5784 100644 (file)
@@ -3,8 +3,6 @@
  * @file mod/profperm.php
  */
 use Friendica\App;
-use Friendica\Core\Config;
-use Friendica\Core\L10n;
 use Friendica\Core\Protocol;
 use Friendica\Content\Text\HTML;
 use Friendica\Database\DBA;
@@ -43,7 +41,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])) {