]> git.mxchange.org Git - friendica.git/blobdiff - mod/filer.php
Split the name in the hcard
[friendica.git] / mod / filer.php
index 47c4aa5e4cbc6fc05139174415d2f5485a97f7fb..ea2c70d9bad6b4c98bf97ff355407c0fdd83861b 100644 (file)
@@ -1,10 +1,12 @@
 <?php
 
+use Friendica\App;
+use Friendica\Core\PConfig;
+
 require_once('include/security.php');
 require_once('include/bbcode.php');
 require_once('include/items.php');
 
-
 function filer_content(App $a) {
 
        if (! local_user()) {
@@ -21,7 +23,7 @@ function filer_content(App $a) {
                file_tag_save_file(local_user(),$item_id,$term);
        } else {
                // return filer dialog
-               $filetags = get_pconfig(local_user(),'system','filetags');
+               $filetags = PConfig::get(local_user(),'system','filetags');
                $filetags = file_tag_file_to_list($filetags,'file');
                 $filetags = explode(",", $filetags);