From b4fc1d681050151d36b244242888597ab4920b5a Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 6 Feb 2019 07:31:29 +0000 Subject: [PATCH] Partly Reverted #6583 --- src/Worker/RemoveContact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/RemoveContact.php b/src/Worker/RemoveContact.php index 08c7c23a77..00027dca40 100644 --- a/src/Worker/RemoveContact.php +++ b/src/Worker/RemoveContact.php @@ -24,7 +24,7 @@ class RemoveContact { do { $items = Item::select(['id'], $condition, ['limit' => 100]); while ($item = Item::fetch($items)) { - Item::deleteById($item['id'], PRIORITY_NEGLIGIBLE); + DBA::delete('item', ['id' => $item['id']]); } DBA::close($items); } while (Item::exists($condition));