diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-06-10 13:19:43 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-06-21 11:44:35 +0200 |
commit | 03ce43d466daf9d085f5b521b223cb8b351a1c0e (patch) | |
tree | 589f7214e47c782d61a3e780e10f93788b7df674 /src/Wallabag/CoreBundle/Command/TagAllCommand.php | |
parent | 18c38dffc67d04e59a9cc26b6910d9b9a4a49cd6 (diff) | |
download | wallabag-03ce43d466daf9d085f5b521b223cb8b351a1c0e.tar.gz wallabag-03ce43d466daf9d085f5b521b223cb8b351a1c0e.tar.zst wallabag-03ce43d466daf9d085f5b521b223cb8b351a1c0e.zip |
Fix getContainer in command
Diffstat (limited to 'src/Wallabag/CoreBundle/Command/TagAllCommand.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/TagAllCommand.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Command/TagAllCommand.php b/src/Wallabag/CoreBundle/Command/TagAllCommand.php index 5a6dc04e..9843674e 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->get('wallabag_user.user_repository')->findOneByUserName($username); | 62 | return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username); |
63 | } | 63 | } |
64 | 64 | ||
65 | private function getDoctrine() | 65 | private function getDoctrine() |