1
0
Fork 0

Renamed function

This commit is contained in:
Michael 2020-05-05 21:58:25 +00:00
parent 980de37047
commit d33f6fc167
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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);