diff --git a/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateUsersPrivacyCommand.php b/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateUsersPrivacyCommand.php index 7ea7b62..690833a 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateUsersPrivacyCommand.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Command/UpdateUsersPrivacyCommand.php @@ -100,11 +100,6 @@ class UpdateUsersPrivacyCommand extends Command $this->logger->info('Processing @'.$user->getLogin()); $this->updateUser($user); - - // Flushing each 10 users - if (0 === $idx % 10) { - $this->em->flush(); - } } $this->progress->finish();