X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FRemoveContact.php;h=00027dca40a2e46dd2b78352a274885634ff0519;hb=4c5b97834b26745fab2f23040cc3ca87686c6e87;hp=08c7c23a77c5c077a61abe7d3b9b417b7646aeeb;hpb=deaecfaf790b4e7942dac753efe5eab9caf3c8dc;p=friendica.git 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));