]> git.mxchange.org Git - friendica.git/blobdiff - src/Worker/RemoveUser.php
Merge pull request #9345 from annando/issue-9344
[friendica.git] / src / Worker / RemoveUser.php
index c2441adc90c558a54afc1d063e834c676a0aab33..018d17a46e68e0a415666f2e038395587e8a0128 100644 (file)
@@ -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));