mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:00:16 +00:00
Avoid "Duplicate entry"
This commit is contained in:
parent
c3398511b4
commit
41061a7ec1
1 changed files with 0 additions and 3 deletions
|
@ -1108,9 +1108,6 @@ class Item
|
|||
}
|
||||
}
|
||||
|
||||
// We syncronize the id value of the of the post-user table with the item table
|
||||
$item['id'] = $id;
|
||||
|
||||
$condition = ['uri-id' => $item['uri-id'], 'uid' => $item['uid'], 'network' => $item['network']];
|
||||
if (Post::exists($condition)) {
|
||||
Logger::notice('Item is already inserted - aborting', $condition);
|
||||
|
|
Loading…
Reference in a new issue