mirror of
https://github.com/friendica/friendica
synced 2024-11-09 23:42:53 +00:00
Renamed function
This commit is contained in:
parent
980de37047
commit
d33f6fc167
3 changed files with 3 additions and 3 deletions
|
@ -1307,7 +1307,7 @@ function photos_content(App $a)
|
|||
}
|
||||
|
||||
$tags = null;
|
||||
$tag_text = Tag::tagTextFromItemId($link_item['uri-id']);
|
||||
$tag_text = Tag::getCSVByURIId($link_item['uri-id']);
|
||||
|
||||
if (!empty($link_item['id']) && !empty($tag_text)) {
|
||||
$arr = explode(',', $tag_text);
|
||||
|
|
|
@ -102,7 +102,7 @@ function tagrm_content(App $a)
|
|||
DI::baseUrl()->redirect($_SESSION['photo_return']);
|
||||
}
|
||||
|
||||
$tag_text = Tag::tagTextFromItemId($item['uri-id']);
|
||||
$tag_text = Tag::getCSVByURIId($item['uri-id']);
|
||||
|
||||
$arr = explode(',', $tag_text);
|
||||
|
||||
|
|
|
@ -345,7 +345,7 @@ class Tag
|
|||
* @param integer $uri_id
|
||||
* @return string tags and mentions
|
||||
*/
|
||||
public static function tagTextFromItemId(int $uri_id)
|
||||
public static function getCSVByURIId(int $uri_id)
|
||||
{
|
||||
$tag_list = [];
|
||||
$tags = self::getByURIId($uri_id);
|
||||
|
|
Loading…
Reference in a new issue