aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas Hart <contact@nclshart.net>2017-07-27 23:44:12 +0200
committerNicolas Hart <contact@nclshart.net>2017-07-27 23:44:12 +0200
commita19e212f433be7d989f27c6271cba9a84fcefac9 (patch)
treec050b18f97595889c2c022356c6facf6bbc2a3ef /src
parentf39152ad6e62f1ea43f501e88a8839526d77ef6c (diff)
downloadwallabag-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.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}