[FOLLOWUP][TASK] Remove initialization for fileFactory 62/37862/2
authorMarkus Klein <klein.t3@reelworx.at>
Sun, 15 Mar 2015 17:56:10 +0000 (18:56 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 15 Mar 2015 17:57:49 +0000 (18:57 +0100)
The getter must not be public.

Resolves: #65734
Releases: master
Change-Id: I347bf403ee25e1abf9f34e39f2104a19e6bdb1f8
Reviewed-on: http://review.typo3.org/37862
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/compatibility6/Classes/ContentObject/ImageTextContentObject.php

index d4089af..8a46a34 100644 (file)
@@ -500,7 +500,7 @@ class ImageTextContentObject extends \TYPO3\CMS\Frontend\ContentObject\AbstractC
         *
         * @return ResourceFactory
         */
-       public function getFileFactory() {
+       protected function getFileFactory() {
                if ($this->fileFactory === NULL) {
                        $this->fileFactory = GeneralUtility::makeInstance(ResourceFactory::class);
                }