]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Merge pull request #8787 from MrPetovan/task/move-share-header
[friendica.git] / src / Protocol / Diaspora.php
index c4e7d9fb87fcf5f16adfb456de50515c9876c458..3833aae23cb97ada8be206f0a4b2c29a8e3f3f59 100644 (file)
@@ -2795,7 +2795,7 @@ class Diaspora
 
                /// @todo Copy tag data from original post
 
-               $prefix = share_header(
+               $prefix = BBCode::getShareOpeningTag(
                        $original_item["author-name"],
                        $original_item["author-link"],
                        $original_item["author-avatar"],
@@ -3676,7 +3676,7 @@ class Diaspora
 
                        if ($item['author-link'] != $item['owner-link']) {
                                require_once 'mod/share.php';
-                               $body = share_header($item['author-name'], $item['author-link'], $item['author-avatar'],
+                               $body = BBCode::getShareOpeningTag($item['author-name'], $item['author-link'], $item['author-avatar'],
                                        "", $item['created'], $item['plink']) . $body . '[/share]';
                        }