Project

General

Profile

Bug #71253 ยป ResourceStorage.php.diff

Jeff Segars, 2015-11-02 18:17

View differences:

typo3/sysext/core/Classes/Resource/ResourceStorage.php
if (!$this->checkFolderActionPermission('add', $parentFolder)) {
throw new Exception\InsufficientFolderWritePermissionsException('You are not allowed to create directories in the folder "' . $parentFolder->getIdentifier() . '"', 1323059807);
}
if ($this->driver->folderExists($folderName)) {
if ($this->driver->folderExistsInFolder($folderName, $parentFolder->getIdentifier())) {
throw new Exception\ExistingTargetFolderException('Folder "' . $folderName . '" already exists.', 1423347324);
}
    (1-1/1)