mirror of
https://github.com/friendica/friendica
synced 2025-05-05 15:04:09 +02:00
The item table is now completely removed
This commit is contained in:
parent
1b90686fcd
commit
c247d5fbeb
12 changed files with 121 additions and 348 deletions
|
@ -54,19 +54,6 @@ class APDelivery
|
|||
return;
|
||||
}
|
||||
|
||||
if (empty($uri_id) && !empty($item_id)) {
|
||||
$item = Post::selectFirst(['uri-id', 'id'], ['item-id' => $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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue