Replace share_header calls with BBCode::getShareOpeningTag

This commit is contained in:
Hypolite Petovan 2020-06-18 08:53:57 -04:00
parent cd74fb8609
commit 1f20111c80
4 changed files with 6 additions and 5 deletions

View file

@ -863,7 +863,7 @@ class Transmitter
$type = 'Announce';
// Disguise forum posts as reshares. Will later be converted to a real announce
$item['body'] = share_header($item['author-name'], $item['author-link'], $item['author-avatar'],
$item['body'] = BBCode::getShareOpeningTag($item['author-name'], $item['author-link'], $item['author-avatar'],
$item['guid'], $item['created'], $item['plink']) . $item['body'] . '[/share]';
}
}