[TASK] FAL: Remove old publishing leftovers
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Resource / ResourceFactory.php
index 92b392f..18d175b 100644 (file)
@@ -309,10 +309,7 @@ class ResourceFactory implements ResourceFactoryInterface, \TYPO3\CMS\Core\Singl
                }
                $driverType = $storageRecord['driver'];
                $driverObject = $this->getDriverObject($driverType, $storageConfiguration);
-               /** @var $storage ResourceStorage */
-               $storage = GeneralUtility::makeInstance($className, $driverObject, $storageRecord);
-               // @todo handle publisher
-               return $storage;
+               return GeneralUtility::makeInstance($className, $driverObject, $storageRecord);
        }
 
        /**
@@ -327,12 +324,6 @@ class ResourceFactory implements ResourceFactoryInterface, \TYPO3\CMS\Core\Singl
                return GeneralUtility::makeInstance(\TYPO3\CMS\Core\Resource\Folder::class, $storage, $identifier, $name);
        }
 
-       protected function createPublisherFromConfiguration(array $configuration) {
-               $publishingTarget = $this->getStorageObject($configuration['publisherConfiguration']['publishingTarget']);
-               $publisher = GeneralUtility::makeInstance($configuration['publisher'], $publishingTarget, $configuration['publisherConfiguration']);
-               return $publisher;
-       }
-
        /**
         * Creates an instance of the file given UID. The $fileData can be supplied
         * to increase performance.