[TASK] Remove initialization for fileFactory in AbstractContentObject
[Packages/TYPO3.CMS.git] / typo3 / sysext / compatibility6 / Classes / ContentObject / SearchResultContentObject.php
index ec0dad7..84d7718 100644 (file)
@@ -127,7 +127,6 @@ class SearchResultContentObject extends \TYPO3\CMS\Frontend\ContentObject\Abstra
        public function __construct(ContentObjectRenderer $cObj = NULL) {
                if (!is_null($cObj)) {
                        $this->cObj = $cObj;
        public function __construct(ContentObjectRenderer $cObj = NULL) {
                if (!is_null($cObj)) {
                        $this->cObj = $cObj;
-                       $this->fileFactory = \TYPO3\CMS\Core\Resource\ResourceFactory::getInstance();
                }
        }
 
                }
        }