aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-07-28 07:36:27 +0200
committerGitHub <noreply@github.com>2017-07-28 07:36:27 +0200
commite56f82142ac890c916b74700087424017bb2acf9 (patch)
treef72414135a069effa509794aa0d1744c8d616d0a /src
parent6f9aba78a7a0469f73cedda0a1b7f7c97eb09a55 (diff)
parenta19e212f433be7d989f27c6271cba9a84fcefac9 (diff)
downloadwallabag-e56f82142ac890c916b74700087424017bb2acf9.tar.gz
wallabag-e56f82142ac890c916b74700087424017bb2acf9.tar.zst
wallabag-e56f82142ac890c916b74700087424017bb2acf9.zip
Merge pull request #3292 from nclsHart/remove-getdoctrine
Remove unused method getDoctrine in several commands
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php5
-rw-r--r--src/Wallabag/CoreBundle/Command/ExportCommand.php5
-rw-r--r--src/Wallabag/CoreBundle/Command/ShowUserCommand.php5
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}