mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 01:13:39 +00:00
[twitter] Update getShareOpeningTag::getShareOpeningTag method signature
This commit is contained in:
parent
1e451a3490
commit
c720acbd8d
1 changed files with 4 additions and 6 deletions
|
@ -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]';
|
||||||
|
|
Loading…
Reference in a new issue