forked from wallabag/wallabag
Remove unused method getDoctrine in several commands
This commit is contained in:
@ -111,9 +111,4 @@ class CleanDuplicatesCommand extends ContainerAwareCommand
|
|||||||
{
|
{
|
||||||
return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username);
|
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;
|
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);
|
return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getDoctrine()
|
|
||||||
{
|
|
||||||
return $this->getContainer()->get('doctrine');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user