]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/FileTag.php
Use rawContent for Special Options to avoid a protected options() method
[friendica.git] / src / Model / FileTag.php
index 324a78fa6ffa48c9ba28b9ad0d8ca34f64bc640d..ec89c96c696236e35b1689d7fad7275ed1a852c9 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -114,21 +114,4 @@ class FileTag
 
                return $return;
        }
-
-       /**
-        * Get file tags from list
-        *
-        * ex. given music,video return <music><video> or [music][video]
-        * @param string $list A comma delimited list of tags.
-        * @param string $type Optional file type.
-        *
-        * @return string       A list of file tags.
-        * @deprecated since 2019.06 use arrayToFile() instead
-        */
-       public static function listToFile(string $list, string $type = 'file')
-       {
-               $list_array = explode(',', $list);
-
-               return self::arrayToFile($list_array, $type);
-       }
 }