From: Michael Date: Tue, 5 May 2020 21:58:25 +0000 (+0000) Subject: Renamed function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d33f6fc1677580dc80ee638d5130b491ab15701a;p=friendica.git Renamed function --- diff --git a/mod/photos.php b/mod/photos.php index f4983a8380..2610174905 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -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); diff --git a/mod/tagrm.php b/mod/tagrm.php index 3aefe0680f..4022f999db 100644 --- a/mod/tagrm.php +++ b/mod/tagrm.php @@ -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); diff --git a/src/Model/Tag.php b/src/Model/Tag.php index f21d2ffec6..2f46289720 100644 --- a/src/Model/Tag.php +++ b/src/Model/Tag.php @@ -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);