mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-02 12:02:23 +00:00
Remove unused method getDoctrine in several commands
This commit is contained in:
parent
f39152ad6e
commit
a19e212f43
3 changed files with 0 additions and 15 deletions
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,9 +69,4 @@ class ExportCommand extends ContainerAwareCommand
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
private function getDoctrine()
|
||||
{
|
||||
return $this->getContainer()->get('doctrine');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue