[twitter] Update getShareOpeningTag::getShareOpeningTag method signature

This commit is contained in:
Hypolite Petovan 2020-06-21 09:48:53 -04:00
parent 1e451a3490
commit c720acbd8d
1 changed files with 4 additions and 6 deletions

View File

@ -908,9 +908,8 @@ function twitter_do_mirrorpost(App $a, $uid, $post)
$item['author-name'], $item['author-name'],
$item['author-link'], $item['author-link'],
$item['author-avatar'], $item['author-avatar'],
'', $item['plink'],
$item['created'], $item['created']
$item['plink']
); );
$datarray['body'] .= $item['body'] . '[/share]'; $datarray['body'] .= $item['body'] . '[/share]';
@ -1631,9 +1630,8 @@ function twitter_createpost(App $a, $uid, $post, array $self, $create_user, $onl
$quoted['author-name'], $quoted['author-name'],
$quoted['author-link'], $quoted['author-link'],
$quoted['author-avatar'], $quoted['author-avatar'],
"", $quoted['plink'],
$quoted['created'], $quoted['created']
$quoted['plink']
); );
$postarray['body'] .= $quoted['body'] . '[/share]'; $postarray['body'] .= $quoted['body'] . '[/share]';