diff options
author | Nicolas Hart <contact@nclshart.net> | 2017-07-27 23:44:12 +0200 |
---|---|---|
committer | Nicolas Hart <contact@nclshart.net> | 2017-07-27 23:44:12 +0200 |
commit | a19e212f433be7d989f27c6271cba9a84fcefac9 (patch) | |
tree | c050b18f97595889c2c022356c6facf6bbc2a3ef /src | |
parent | f39152ad6e62f1ea43f501e88a8839526d77ef6c (diff) | |
download | wallabag-a19e212f433be7d989f27c6271cba9a84fcefac9.tar.gz wallabag-a19e212f433be7d989f27c6271cba9a84fcefac9.tar.zst wallabag-a19e212f433be7d989f27c6271cba9a84fcefac9.zip |
Remove unused method getDoctrine in several commands
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php | 5 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Command/ExportCommand.php | 5 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Command/ShowUserCommand.php | 5 |
3 files changed, 0 insertions, 15 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/ShowUserCommand.php b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php index eef04988..4511c235 100644 --- a/src/Wallabag/CoreBundle/Command/ShowUserCommand.php +++ b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php | |||
@@ -69,9 +69,4 @@ class ShowUserCommand extends ContainerAwareCommand | |||
69 | { | 69 | { |
70 | return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username); | 70 | return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username); |
71 | } | 71 | } |
72 | |||
73 | private function getDoctrine() | ||
74 | { | ||
75 | return $this->getContainer()->get('doctrine'); | ||
76 | } | ||
77 | } | 72 | } |