Skip to content
Snippets Groups Projects
Commit 5d352c02 authored by Benjamin Mack's avatar Benjamin Mack Committed by Anja Leichsenring
Browse files

[TASK] FAL: Remove old publishing leftovers

The initial concept of having publishers
in the File Abstraction Layer was never
implemented.

The leftover code is removed.
No dependencies to the protected
method are found and can safely be
removed.

Resolves: #64683
Releases: master, 6.2
Change-Id: I4eca172bc9fd618ce80bd7c0158da73b01745a77
Reviewed-on: http://review.typo3.org/36494


Reviewed-by: default avatarMathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: default avatarMathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarNicole Cordes <typo3@cordes.co>
Reviewed-by: default avatarFrans Saris <franssaris@gmail.com>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent d8b30370
Branches
Tags
No related merge requests found
......@@ -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.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment