Partly Reverted #6583
This commit is contained in:
parent
6436145909
commit
b4fc1d6810
|
@ -24,7 +24,7 @@ class RemoveContact {
|
||||||
do {
|
do {
|
||||||
$items = Item::select(['id'], $condition, ['limit' => 100]);
|
$items = Item::select(['id'], $condition, ['limit' => 100]);
|
||||||
while ($item = Item::fetch($items)) {
|
while ($item = Item::fetch($items)) {
|
||||||
Item::deleteById($item['id'], PRIORITY_NEGLIGIBLE);
|
DBA::delete('item', ['id' => $item['id']]);
|
||||||
}
|
}
|
||||||
DBA::close($items);
|
DBA::close($items);
|
||||||
} while (Item::exists($condition));
|
} while (Item::exists($condition));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user