[TASK] Use @inject in ext:about 56/24056/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 25 Sep 2013 15:08:02 +0000 (17:08 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 25 Sep 2013 15:10:13 +0000 (17:10 +0200)
Change-Id: I856db58b5843615ddae80e5f978de79981027711
Resolves: #52270
Releases: 6.2
Reviewed-on: https://review.typo3.org/24056
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/about/Classes/Controller/AboutController.php

index 79fe414..082541b 100644 (file)
@@ -37,18 +37,11 @@ class AboutController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController
 
        /**
         * @var \TYPO3\CMS\About\Domain\Repository\ExtensionRepository
+        * @inject
         */
        protected $extensionRepository;
 
        /**
-        * @param \TYPO3\CMS\About\Domain\Repository\ExtensionRepository
-        * @return void
-        */
-       public function injectExtensionRepository(\TYPO3\CMS\About\Domain\Repository\ExtensionRepository $extensionRepository) {
-               $this->extensionRepository = $extensionRepository;
-       }
-
-       /**
         * Main action: Show standard information
         *
         * @return void