mirror of
https://github.com/friendica/friendica
synced 2025-04-26 21:10:16 +00:00
Rename Item::delete* methods to Item::markForDeletion*
This commit is contained in:
parent
dd613cda45
commit
6ae5f705b6
7 changed files with 22 additions and 23 deletions
|
@ -41,7 +41,7 @@ class RemoveUser {
|
|||
do {
|
||||
$items = Item::select(['id'], $condition, ['limit' => 100]);
|
||||
while ($item = Item::fetch($items)) {
|
||||
Item::deleteById($item['id'], PRIORITY_NEGLIGIBLE);
|
||||
Item::markForDeletionById($item['id'], PRIORITY_NEGLIGIBLE);
|
||||
}
|
||||
DBA::close($items);
|
||||
} while (Item::exists($condition));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue