#50125ResourceStorage::deleteFolder does not correctly check if given folder is empty
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