Project

General

Profile

Actions

Bug #50125

closed

ResourceStorage::deleteFolder does not correctly check if given folder is empty

Added by Bernhard Schmitt almost 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-07-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

line 1512 is

if ($this->driver->isFolderEmpty($folderObject) && !$deleteRecursively) {

and should obviously be

if (!$this->driver->isFolderEmpty($folderObject) && !$deleteRecursively) {

v6.1.1btw

Best,
Bernhard

Actions

Also available in: Atom PDF