mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-22 17:18:37 +00:00
Fix getContainer in command
This commit is contained in:
parent
18c38dffc6
commit
03ce43d466
5 changed files with 7 additions and 8 deletions
|
@ -67,7 +67,7 @@ class ShowUserCommand extends ContainerAwareCommand
|
|||
*/
|
||||
private function getUser($username)
|
||||
{
|
||||
return $this->get('wallabag_user.user_repository')->findOneByUserName($username);
|
||||
return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username);
|
||||
}
|
||||
|
||||
private function getDoctrine()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue