mirror of
https://github.com/friendica/friendica
synced 2025-04-24 12:30:10 +00:00
Removed and replaced deprecated functionalities
This commit is contained in:
parent
cfac13790b
commit
eb1b2256a0
12 changed files with 29 additions and 230 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue