]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Remove unused method getDoctrine in several commands 3292/head
authorNicolas Hart <contact@nclshart.net>
Thu, 27 Jul 2017 21:44:12 +0000 (23:44 +0200)
committerNicolas Hart <contact@nclshart.net>
Thu, 27 Jul 2017 21:44:12 +0000 (23:44 +0200)
src/Wallabag/CoreBundle/Command/CleanDuplicatesCommand.php
src/Wallabag/CoreBundle/Command/ExportCommand.php
src/Wallabag/CoreBundle/Command/ShowUserCommand.php

index d964439d4c87d69d81970d0c536ef5177594dce5..b4aa4e470359cae82597b3173776876dee241aa7 100644 (file)
@@ -111,9 +111,4 @@ class CleanDuplicatesCommand extends ContainerAwareCommand
     {
         return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username);
     }
-
-    private function getDoctrine()
-    {
-        return $this->getContainer()->get('doctrine');
-    }
 }
index c2e4be05c9a87aac64a8cb63b42e9d3ac16b2e15..291926e4e00807aed327412f37e32767300f9e66 100644 (file)
@@ -69,9 +69,4 @@ class ExportCommand extends ContainerAwareCommand
 
         return 0;
     }
-
-    private function getDoctrine()
-    {
-        return $this->getContainer()->get('doctrine');
-    }
 }
index eef04988fb80206d67bdf8c8a242299e188001b0..4511c235496c4710e00bc62bc07143b9ecab9d30 100644 (file)
@@ -69,9 +69,4 @@ class ShowUserCommand extends ContainerAwareCommand
     {
         return $this->getContainer()->get('wallabag_user.user_repository')->findOneByUserName($username);
     }
-
-    private function getDoctrine()
-    {
-        return $this->getContainer()->get('doctrine');
-    }
 }