diff --git a/src/Wallabag/CoreBundle/Command/TagAllCommand.php b/src/Wallabag/CoreBundle/Command/TagAllCommand.php index db1a9ab79..3f9bb04d9 100644 --- a/src/Wallabag/CoreBundle/Command/TagAllCommand.php +++ b/src/Wallabag/CoreBundle/Command/TagAllCommand.php @@ -34,10 +34,13 @@ class TagAllCommand extends ContainerAwareCommand } $tagger = $this->getContainer()->get('wallabag_core.rule_based_tagger'); - $output->write(sprintf('Tagging entries for user « %s »... ', $user->getUserName())); + $output->write(sprintf('Tagging entries for user « %s »... ', $user->getUserName())); $entries = $tagger->tagAllForUser($user); + $output->writeln('Done.'); + $output->write(sprintf('Persist entries ... ', $user->getUserName())); + $em = $this->getDoctrine()->getManager(); foreach ($entries as $entry) { $em->persist($entry);