Merge pull request #990 from MrPetovan/task/share-block-guid
[various] Update getShareOpeningTag::getShareOpeningTag method signature
This commit is contained in:
commit
94c658b105
|
@ -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,
|
$postarray['body'] = Friendica\Content\Text\BBCode::getShareOpeningTag($share_author, $post->object->author->url,
|
||||||
$post->object->author->image->url, "",
|
$post->object->author->image->url, $post->links->self->href, $created) .
|
||||||
$created, $post->links->self->href).
|
|
||||||
$postarray['body']."[/share]";
|
$postarray['body']."[/share]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -915,9 +915,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]';
|
||||||
|
@ -1644,9 +1643,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