Browse Source

Only delete undeleted items

pull/5060/head
Michael 3 years ago
parent
commit
82937189ba
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Model/Item.php

+ 1
- 1
src/Model/Item.php View File

@ -189,7 +189,7 @@ class Item extends BaseObject
// If it's the parent of a comment thread, kill all the kids
if ($item['id'] == $item['parent']) {
self::delete(['parent' => $item['parent']], $priority);
self::delete(['parent' => $item['parent'], 'deleted' => false], $priority);
}
// Is it our comment and/or our thread?


Loading…
Cancel
Save