mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 17:44:27 +02: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