aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Command/TagAllCommand.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-06-10 12:33:58 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-06-21 11:44:35 +0200
commit25203e5081c8da21869db1d16610f83f888249b5 (patch)
tree3e6f460b2e7d5e745113bbdfca3e2b2bc566a7d8 /src/Wallabag/CoreBundle/Command/TagAllCommand.php
parent80784b782becfaa297e6d9cbb0584e27739cffc8 (diff)
downloadwallabag-25203e5081c8da21869db1d16610f83f888249b5.tar.gz
wallabag-25203e5081c8da21869db1d16610f83f888249b5.tar.zst
wallabag-25203e5081c8da21869db1d16610f83f888249b5.zip
User existing service instead of getDoctrine
Diffstat (limited to 'src/Wallabag/CoreBundle/Command/TagAllCommand.php')
-rw-r--r--src/Wallabag/CoreBundle/Command/TagAllCommand.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Command/TagAllCommand.php b/src/Wallabag/CoreBundle/Command/TagAllCommand.php
index 3f9bb04d..5a6dc04e 100644
--- a/src/Wallabag/CoreBundle/Command/TagAllCommand.php
+++ b/src/Wallabag/CoreBundle/Command/TagAllCommand.php
@@ -59,7 +59,7 @@ class TagAllCommand extends ContainerAwareCommand
59 */ 59 */
60 private function getUser($username) 60 private function getUser($username)
61 { 61 {
62 return $this->getDoctrine()->getRepository('WallabagUserBundle:User')->findOneByUserName($username); 62 return $this->get('wallabag_user.user_repository')->findOneByUserName($username);
63 } 63 }
64 64
65 private function getDoctrine() 65 private function getDoctrine()