Merge remote-tracking branch 'annando/untrusted' into develop
This commit is contained in:
commit
f11f9866ba
1 changed files with 3 additions and 0 deletions
|
@ -128,6 +128,9 @@ class Queue
|
||||||
|
|
||||||
$children = DBA::select('inbox-entry', ['id'], ['in-reply-to-id' => $entry['object-id']]);
|
$children = DBA::select('inbox-entry', ['id'], ['in-reply-to-id' => $entry['object-id']]);
|
||||||
while ($child = DBA::fetch($children)) {
|
while ($child = DBA::fetch($children)) {
|
||||||
|
if ($id == $child['id']) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
self::deleteById($child['id']);
|
self::deleteById($child['id']);
|
||||||
}
|
}
|
||||||
DBA::close($children);
|
DBA::close($children);
|
||||||
|
|
Loading…
Reference in a new issue