From 82937189ba58b525a772ad56f0a963b27329058b Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 15 May 2018 19:25:35 +0000 Subject: [PATCH] Only delete undeleted items --- src/Model/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index 210a601097..dfb7ea065c 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -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? -- 2.39.5