Commit 7880e48e authored by Christoph Hofmann's avatar Christoph Hofmann

update

parent da2e65a3
......@@ -147,7 +147,7 @@ class CleanupFiles extends \TYPO3\CMS\Scheduler\Task\AbstractTask {
$count = 0;
while ($row = $statement->fetch()) {
$count ++;
$identifier = $row['storage'].':'.$row['identifier'];
$moveOK = false;
$file = null;
......@@ -337,7 +337,9 @@ class CleanupFiles extends \TYPO3\CMS\Scheduler\Task\AbstractTask {
private function checkMoveOK(\TYPO3\CMS\Core\Resource\File $file)
{
$st = $file->getStorage();
try { $file->getParentFolder();}
try {
$file->getParentFolder();
}
catch (Exception\FolderDoesNotExistException $e) {
return false;
}
......
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