]> git.mxchange.org Git - friendica-addons.git/commitdiff
[various] Remove unused uid parameter in Item::newURI
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 9 Jul 2022 19:51:41 +0000 (15:51 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 9 Jul 2022 19:51:41 +0000 (15:51 -0400)
pumpio/pumpio.php
statusnet/statusnet.php

index e1432dd33f431514e10e553e1a058901a2d9e320..eacc394b7e4fa5d0baa33459796ae199f7eb5072 100644 (file)
@@ -923,7 +923,7 @@ function pumpio_dolike(App $a, int $uid, array $self, $post, string $own_id, $th
        $likedata['uid'] = $uid;
        $likedata['wall'] = 0;
        $likedata['network'] = Protocol::PUMPIO;
-       $likedata['uri'] = Item::newURI($uid);
+       $likedata['uri'] = Item::newURI();
        $likedata['thr-parent'] = $orig_post['uri'];
        $likedata['contact-id'] = $contactid;
        $likedata['app'] = $post->generator->displayName;
index 6bcf22b0983d4307a365afdb8c5933c228163128..4f5abfc8183c677d81e1e6cc3a2de0f1c439943b 100644 (file)
@@ -830,7 +830,7 @@ function statusnet_fetchtimeline(App $a, int $uid)
                                $_REQUEST['extid'] = Protocol::STATUSNET;
 
                                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;