X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FWorker%2FRemoveUser.php;h=e209aec07f18c23056e0f523a190df712bac65fd;hb=a662245c744f4d2faa1b533977f7d21b4de6a724;hp=018d17a46e68e0a415666f2e038395587e8a0128;hpb=6ae5f705b64c0b0241238d75e6060798ac3a6a1b;p=friendica.git diff --git a/src/Worker/RemoveUser.php b/src/Worker/RemoveUser.php index 018d17a46e..e209aec07f 100644 --- a/src/Worker/RemoveUser.php +++ b/src/Worker/RemoveUser.php @@ -1,6 +1,6 @@ $uid, 'deleted' => false]; do { - $items = Item::select(['id'], $condition, ['limit' => 100]); - while ($item = Item::fetch($items)) { + $items = Post::select(['id'], $condition, ['limit' => 100]); + while ($item = Post::fetch($items)) { Item::markForDeletionById($item['id'], PRIORITY_NEGLIGIBLE); } DBA::close($items); - } while (Item::exists($condition)); + } while (Post::exists($condition)); } }