diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Command')
4 files changed, 0 insertions, 16 deletions
diff --git a/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php b/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php index d964439d..b4aa4e47 100644 --- a/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php +++ b/src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php | |||
@@ -111,9 +111,4 @@ class CleanDuplicatesCommand extends ContainerAwareCommand | |||
111 | { | 111 | { |
112 | return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username); | 112 | return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username); |
113 | } | 113 | } |
114 | |||
115 | private function getDoctrine() | ||
116 | { | ||
117 | return $this->getContainer()->get('doctrine'); | ||
118 | } | ||
119 | } | 114 | } |
diff --git a/src/Wallabag/CoreBundle/Command/ExportCommand.php b/src/Wallabag/CoreBundle/Command/ExportCommand.php index c2e4be05..291926e4 100644 --- a/src/Wallabag/CoreBundle/Command/ExportCommand.php +++ b/src/Wallabag/CoreBundle/Command/ExportCommand.php | |||
@@ -69,9 +69,4 @@ class ExportCommand extends ContainerAwareCommand | |||
69 | 69 | ||
70 | return 0; | 70 | return 0; |
71 | } | 71 | } |
72 | |||
73 | private function getDoctrine() | ||
74 | { | ||
75 | return $this->getContainer()->get('doctrine'); | ||
76 | } | ||
77 | } | 72 | } |
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php index 50551480..c7809053 100644 --- a/src/Wallabag/CoreBundle/Command/InstallCommand.php +++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php | |||
@@ -14,7 +14,6 @@ use Symfony\Component\Console\Output\BufferedOutput; | |||
14 | use Symfony\Component\Console\Output\OutputInterface; | 14 | use Symfony\Component\Console\Output\OutputInterface; |
15 | use Symfony\Component\Console\Question\ConfirmationQuestion; | 15 | use Symfony\Component\Console\Question\ConfirmationQuestion; |
16 | use Symfony\Component\Console\Question\Question; | 16 | use Symfony\Component\Console\Question\Question; |
17 | use Wallabag\CoreBundle\Entity\Config; | ||
18 | 17 | ||
19 | class InstallCommand extends ContainerAwareCommand | 18 | class InstallCommand extends ContainerAwareCommand |
20 | { | 19 | { |
diff --git a/src/Wallabag/CoreBundle/Command/ShowUserCommand.php b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php index 33888fa3..090309d9 100644 --- a/src/Wallabag/CoreBundle/Command/ShowUserCommand.php +++ b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php | |||
@@ -72,9 +72,4 @@ class ShowUserCommand extends ContainerAwareCommand | |||
72 | { | 72 | { |
73 | return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username); | 73 | return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username); |
74 | } | 74 | } |
75 | |||
76 | private function getDoctrine() | ||
77 | { | ||
78 | return $this->getContainer()->get('doctrine'); | ||
79 | } | ||
80 | } | 75 | } |