mirror of
https://github.com/friendica/friendica
synced 2025-05-22 03:44:13 +02:00
Use a combined unique index
This commit is contained in:
parent
425440ec24
commit
b2dadf0f92
4 changed files with 9 additions and 9 deletions
|
@ -615,7 +615,7 @@ class Feed
|
|||
}
|
||||
|
||||
$condition = ['uid' => $item['uid'], 'uri' => $item['uri']];
|
||||
if (!Item::exists($condition) && !Post\Delayed::exists($item["uri"])) {
|
||||
if (!Item::exists($condition) && !Post\Delayed::exists($item["uri"], $item['uid'])) {
|
||||
$postings[] = ['item' => $item, 'notify' => $notify,
|
||||
'taglist' => $taglist, 'attachments' => $attachments];
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue