[various] Update getShareOpeningTag::getShareOpeningTag method signature #990

Merged
MrPetovan merged 2 commits from task/share-block-guid into 2020.06-rc 2020-06-23 21:26:04 +02:00
2 changed files with 5 additions and 8 deletions

View file

@ -1278,8 +1278,7 @@ function pumpio_dopost(App $a, $client, $uid, $self, $post, $own_id, $threadcomp
}
$postarray['body'] = Friendica\Content\Text\BBCode::getShareOpeningTag($share_author, $post->object->author->url,
$post->object->author->image->url, "",
$created, $post->links->self->href).
$post->object->author->image->url, $post->links->self->href, $created) .
$postarray['body']."[/share]";
}

View file

@ -908,9 +908,8 @@ function twitter_do_mirrorpost(App $a, $uid, $post)
$item['author-name'],
$item['author-link'],
$item['author-avatar'],
'',
$item['created'],
$item['plink']
$item['plink'],
$item['created']
);
$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-link'],
$quoted['author-avatar'],
"",
$quoted['created'],
$quoted['plink']
$quoted['plink'],
$quoted['created']
);
$postarray['body'] .= $quoted['body'] . '[/share]';