mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-19 21:23:41 +00:00
Merge pull request #1272 from MrPetovan/bug/fatal-errors
[various] Remove unused uid parameter in Item::newURI
This commit is contained in:
commit
3b01cb035e
2 changed files with 2 additions and 2 deletions
|
@ -923,7 +923,7 @@ function pumpio_dolike(App $a, int $uid, array $self, $post, string $own_id, $th
|
||||||
$likedata['uid'] = $uid;
|
$likedata['uid'] = $uid;
|
||||||
$likedata['wall'] = 0;
|
$likedata['wall'] = 0;
|
||||||
$likedata['network'] = Protocol::PUMPIO;
|
$likedata['network'] = Protocol::PUMPIO;
|
||||||
$likedata['uri'] = Item::newURI($uid);
|
$likedata['uri'] = Item::newURI();
|
||||||
$likedata['thr-parent'] = $orig_post['uri'];
|
$likedata['thr-parent'] = $orig_post['uri'];
|
||||||
$likedata['contact-id'] = $contactid;
|
$likedata['contact-id'] = $contactid;
|
||||||
$likedata['app'] = $post->generator->displayName;
|
$likedata['app'] = $post->generator->displayName;
|
||||||
|
|
|
@ -830,7 +830,7 @@ function statusnet_fetchtimeline(App $a, int $uid)
|
||||||
$_REQUEST['extid'] = Protocol::STATUSNET;
|
$_REQUEST['extid'] = Protocol::STATUSNET;
|
||||||
|
|
||||||
if (isset($post->id)) {
|
if (isset($post->id)) {
|
||||||
$_REQUEST['message_id'] = Item::newURI($uid, Protocol::STATUSNET . ':' . $post->id);
|
$_REQUEST['message_id'] = Item::newURI(Protocol::STATUSNET . ':' . $post->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
//$_REQUEST['date'] = $post->created_at;
|
//$_REQUEST['date'] = $post->created_at;
|
||||||
|
|
Loading…
Reference in a new issue