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/ShowUserCommand.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/ShowUserCommand.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/ShowUserCommand.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Command/ShowUserCommand.php b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php index 90a7e03f..eef04988 100644 --- a/src/Wallabag/CoreBundle/Command/ShowUserCommand.php +++ b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php | |||
@@ -67,7 +67,7 @@ class ShowUserCommand extends ContainerAwareCommand | |||
67 | */ | 67 | */ |
68 | private function getUser($username) | 68 | private function getUser($username) |
69 | { | 69 | { |
70 | return $this->get('wallabag_user.user_repository')->findOneByUserName($username); | 70 | return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username); |
71 | } | 71 | } |
72 | 72 | ||
73 | private function getDoctrine() | 73 | private function getDoctrine() |