Project

General

Profile

Feature #85312 ยป patch-85312.diff

Franz Holzinger, 2018-06-20 11:23

View differences:

typo3_src-8.7.15/typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php 2018-06-20 11:05:49.949110604 +0200
*/
use TYPO3\CMS\Backend\Utility\BackendUtility;
use TYPO3\CMS\Core\Authentication\BackendUserAuthentication;
use TYPO3\CMS\Core\Authentication\AbstractUserAuthentication;
use TYPO3\CMS\Core\Database\Connection;
use TYPO3\CMS\Core\Database\ConnectionPool;
use TYPO3\CMS\Core\Database\Query\Restriction\BackendWorkspaceRestriction;
......
protected $sanitizationMap = [];
/**
* @var BackendUserAuthentication
* @var AbstractUserAuthentication
*/
protected $backendUser;
......
* Class generator
*
* @param array $dataMap The submitted data-map to be worked on
* @param BackendUserAuthentication $backendUser Forwared backend-user scope
* @param AbstractUserAuthentication $backendUser Forwared backend-user scope
* @return DataMapProcessor
*/
public static function instance(array $dataMap, BackendUserAuthentication $backendUser)
public static function instance(array $dataMap, AbstractUserAuthentication $backendUser)
{
return GeneralUtility::makeInstance(
static::class,
......
/**
* @param array $dataMap The submitted data-map to be worked on
* @param BackendUserAuthentication $backendUser Forwared backend-user scope
* @param AbstractUserAuthentication $backendUser Forwared backend-user scope
*/
public function __construct(array $dataMap, BackendUserAuthentication $backendUser)
public function __construct(array $dataMap, AbstractUserAuthentication $backendUser)
{
$this->allDataMap = $dataMap;
$this->modifiedDataMap = $dataMap;
    (1-1/1)