Merge pull request #6594 from annando/delete-item
Partly Reverted #6583
This commit is contained in:
commit
4a501e4e46
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue