]> git.mxchange.org Git - friendica.git/commitdiff
Renamed function
authorMichael <heluecht@pirati.ca>
Tue, 5 May 2020 21:58:25 +0000 (21:58 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 5 May 2020 21:58:25 +0000 (21:58 +0000)
mod/photos.php
mod/tagrm.php
src/Model/Tag.php

index f4983a8380449b5681431958f0642e1e5dba02da..2610174905644d103e188da0f7259fd34d697f2d 100644 (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);
index 3aefe0680f7fe583e1ad2e470532efda12f914db..4022f999db3c04a87b7130e3d358dca6e2a0a1db 100644 (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);
 
index f21d2ffec686f8308a42528e2f16494b97ee03c4..2f46289720b580f52f5b854058089bbd59023619 100644 (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);