X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FAPDelivery.php;h=dc826e33159e8aa15b3c0af7bff243cec77663a5;hb=52f5d924b7a0429669f37570034e7771dd2a1887;hp=99ea6f832baef7577ab38c7779ce2c3bdcee3228;hpb=2ebb720f09a16cabfe5f4ace5b81bc46408dcbb7;p=friendica.git diff --git a/src/Worker/APDelivery.php b/src/Worker/APDelivery.php index 99ea6f832b..dc826e3315 100644 --- a/src/Worker/APDelivery.php +++ b/src/Worker/APDelivery.php @@ -1,6 +1,6 @@ $item_id]); - if (!empty($item['uri-id'])) { - $uri_id = $item['uri-id']; - $item_id = $item['id']; - } - } elseif (!empty($uri_id) && !empty($item_id)) { - $item = Post::selectFirst(['id'], ['uri-id' => $uri_id, 'uid' => $uid]); - if (!empty($item['uri-id'])) { - $item_id = $item['id']; - } - } - Logger::info('Invoked', ['cmd' => $cmd, 'inbox' => $inbox, 'id' => $item_id, 'uri-id' => $uri_id, 'uid' => $uid]); $success = true; @@ -93,7 +80,6 @@ class APDelivery } } - // This should never fail and is temporariy (until the move to the "post" structure) $gsid = null; foreach ($receivers as $receiver) {