mirror of
https://github.com/friendica/friendica
synced 2025-04-28 11:44:23 +02:00
Avoid loops at deletion / decoupling for relay posts
This commit is contained in:
parent
08e9b2cc12
commit
a27274b3b4
4 changed files with 20 additions and 25 deletions
|
@ -126,14 +126,6 @@ class Queue
|
|||
return;
|
||||
}
|
||||
|
||||
$children = DBA::select('inbox-entry', ['id'], ['in-reply-to-id' => $entry['object-id']]);
|
||||
while ($child = DBA::fetch($children)) {
|
||||
if ($id == $child['id']) {
|
||||
continue;
|
||||
}
|
||||
self::deleteById($child['id']);
|
||||
}
|
||||
DBA::close($children);
|
||||
DBA::delete('inbox-entry', ['id' => $entry['id']]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue