]> git.mxchange.org Git - friendica.git/blobdiff - mod/profperm.php
Issue-#3873
[friendica.git] / mod / profperm.php
index c67a0202e057921882477fbf9d55fcec0d726c60..2b3c07526be8dfeb78ac2684e2b5dc4c37a63999 100644 (file)
@@ -1,6 +1,8 @@
 <?php
 
 use Friendica\App;
+use Friendica\Core\Config;
+use Friendica\Core\PConfig;
 
 function profperm_init(App $a) {
 
@@ -31,9 +33,9 @@ function profperm_content(App $a) {
 
        // Switch to text mod interface if we have more than 'n' contacts or group members
 
-       $switchtotext = get_pconfig(local_user(),'system','groupedit_image_limit');
+       $switchtotext = PConfig::get(local_user(),'system','groupedit_image_limit');
        if($switchtotext === false)
-               $switchtotext = get_config('system','groupedit_image_limit');
+               $switchtotext = Config::get('system','groupedit_image_limit');
        if($switchtotext === false)
                $switchtotext = 400;