X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FAPDelivery.php;h=7af50c67e4bfb597acff85868e3b6093fa114150;hb=6f290607de7f10cea7429aacd0b394fd3f4c4e69;hp=99ea6f832baef7577ab38c7779ce2c3bdcee3228;hpb=751232d679ed254ccf28ef371ae3ac56b5889e39;p=friendica.git diff --git a/src/Worker/APDelivery.php b/src/Worker/APDelivery.php index 99ea6f832b..7af50c67e4 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) {