mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:00:16 +00:00
Lower priority for removing item
This commit is contained in:
parent
633d04049b
commit
97fb2202cb
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)) {
|
||||
DBA::delete('item', ['id' => $item['id']]);
|
||||
Item::deleteById($item['id'], PRIORITY_NEGLIGIBLE);
|
||||
}
|
||||
DBA::close($items);
|
||||
} while (Item::exists($condition));
|
||||
|
|
Loading…
Reference in a new issue