[TASK] Remove initialization for fileFactory in AbstractContentObject
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Classes / ContentObject / AbstractContentObject.php
index 5287243..c21bb84 100644 (file)
@@ -13,7 +13,6 @@ namespace TYPO3\CMS\Frontend\ContentObject;
  *
  * The TYPO3 project - inspiring people to share!
  */
-use TYPO3\CMS\Core\Resource\ResourceFactory;
 
 /**
  * Contains an abstract class for all tslib content class implementations.
@@ -28,11 +27,6 @@ abstract class AbstractContentObject {
         */
        protected $cObj;
 
-       /**
-        * @var ResourceFactory
-        */
-       protected $fileFactory = NULL;
-
        /**
         * Default constructor.
         *
@@ -40,7 +34,6 @@ abstract class AbstractContentObject {
         */
        public function __construct(ContentObjectRenderer $cObj) {
                $this->cObj = $cObj;
-               $this->fileFactory = ResourceFactory::getInstance();
        }
 
        /**