diff --git a/lib/Service/FilesAppService.php b/lib/Service/FilesAppService.php index ea6c06506..aab5fb5cc 100644 --- a/lib/Service/FilesAppService.php +++ b/lib/Service/FilesAppService.php @@ -174,7 +174,6 @@ class FilesAppService implements IAttachmentService, ICustomAttachmentService { throw new StatusException('Could not read file'); } $target->putContent($content); - fclose($content); $share = $this->shareManager->newShare(); $share->setNode($target);