]> git.mxchange.org Git - friendica.git/commitdiff
Partly Reverted #6583
authorMichael <heluecht@pirati.ca>
Wed, 6 Feb 2019 07:31:29 +0000 (07:31 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 6 Feb 2019 07:31:29 +0000 (07:31 +0000)
src/Worker/RemoveContact.php

index 08c7c23a77c5c077a61abe7d3b9b417b7646aeeb..00027dca40a2e46dd2b78352a274885634ff0519 100644 (file)
@@ -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));