Commit 9d528e17 authored by Christoph Hofmann's avatar Christoph Hofmann

update

parent 7880e48e
......@@ -337,6 +337,10 @@ class CleanupFiles extends \TYPO3\CMS\Scheduler\Task\AbstractTask {
private function checkMoveOK(\TYPO3\CMS\Core\Resource\File $file)
{
$st = $file->getStorage();
$ext = $file->getExtension() ;
if ($ext != 'mp4' && !$this->isImage($ext)) {
return false;
}
try {
$file->getParentFolder();
}
......
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