[BUGFIX] Incorrect check for empty folder 74/22674/4
authorPhilipp Gampe <philipp.gampe@typo3.org>
Mon, 29 Jul 2013 20:15:32 +0000 (22:15 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 6 Aug 2013 18:44:53 +0000 (20:44 +0200)
commit41fb6b08480f587e632c1eef6dc58ee2ecde1864
tree3585d98168882583653b50bc50d1f1184bd84d87
parent27a3e9e4c447690b2aa83e30f20c30b1a389c72c
[BUGFIX] Incorrect check for empty folder

The condition in ResourceStorage::deleteFolder is wrong.
Negate the isFolderEmpty() clause.

Resolves: #50125
Releases: 6.2, 6.1, 6.0
Change-Id: Ia60f3e97ff8d1e0cc2671cec1b31cfc995c235b1
Reviewed-on: https://review.typo3.org/22674
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php