[BUGFIX] Obsolete construct param in DatabaseQueryProcessor 99/43499/4
authorSebastian Seidelmann <sebastian.seidelmann@gmail.com>
Wed, 23 Sep 2015 10:22:41 +0000 (12:22 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 23 Sep 2015 12:31:00 +0000 (14:31 +0200)
Resolves: #70037
Releases: master
Change-Id: I6877b4e208f251ef45d60ca9bbf4495734276e7c
Reviewed-on: http://review.typo3.org/43499
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/frontend/Classes/DataProcessing/DatabaseQueryProcessor.php

index 9593d64..db96f23 100644 (file)
@@ -51,20 +51,13 @@ class DatabaseQueryProcessor implements DataProcessorInterface {
        protected $contentDataProcessor;
 
        /**
-        * @param ContentObjectRenderer $cObj
+        * Constructor
         */
-       public function __construct(ContentObjectRenderer $cObj) {
+       public function __construct() {
                $this->contentDataProcessor = GeneralUtility::makeInstance(ContentDataProcessor::class);
        }
 
        /**
-        * @param ContentDataProcessor $contentDataProcessor
-        */
-       public function setContentDataProcessor($contentDataProcessor) {
-               $this->contentDataProcessor = $contentDataProcessor;
-       }
-
-       /**
         * Fetches records from the database as an array
         *
         * @param ContentObjectRenderer $cObj The data of the content element or page