- $items = Item::select(['id'], $condition, ['limit' => 100]);
- while ($item = Item::fetch($items)) {
- Item::markForDeletionById($item['id'], PRIORITY_NEGLIGIBLE);
+ $items = Post::select(['id'], $condition, ['limit' => 100]);
+ while ($item = Post::fetch($items)) {
+ Item::markForDeletionById($item['id'], Worker::PRIORITY_NEGLIGIBLE);