Commit e4cee9a6 authored by Christoph Hofmann's avatar Christoph Hofmann

update

parent ea7304b6
......@@ -336,7 +336,7 @@ class CleanupFiles extends \TYPO3\CMS\Scheduler\Task\AbstractTask {
private function checkMoveOK(\TYPO3\CMS\Core\Resource\File $file)
{
$st = $file->getStorage();
if ($file->getParentFolder() == $st->getRootLevelFolder()) {
if ($file->getParentFolder()->getIdentifier() == $st->getRootLevelFolder()->getIdentifier()) {
return false;
}
$identifier = $file->getCombinedIdentifier();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment