Merge pull request #3292 from nclsHart/remove-getdoctrine

Remove unused method getDoctrine in several commands
This commit is contained in:
Jérémy Benoist 2017-07-28 07:36:27 +02:00 committed by GitHub
commit e56f82142a
3 changed files with 0 additions and 15 deletions

View file

@ -111,9 +111,4 @@ class CleanDuplicatesCommand extends ContainerAwareCommand
{
return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username);
}
private function getDoctrine()
{
return $this->getContainer()->get('doctrine');
}
}

View file

@ -69,9 +69,4 @@ class ExportCommand extends ContainerAwareCommand
return 0;
}
private function getDoctrine()
{
return $this->getContainer()->get('doctrine');
}
}

View file

@ -69,9 +69,4 @@ class ShowUserCommand extends ContainerAwareCommand
{
return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username);
}
private function getDoctrine()
{
return $this->getContainer()->get('doctrine');
}
}