Merge pull request #17616 from nextcloud/bug/15486/dont-fclose

Remove superfluous fclose
This commit is contained in:
Roeland Jago Douma 2019-10-23 19:51:17 +02:00 committed by GitHub
commit 4c83e9ce5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -685,7 +685,6 @@ class AmazonS3 extends \OC\Files\Storage\Common {
$source = fopen($tmpFile, 'r');
$this->writeObject($path, $source);
$this->invalidateCache($path);
fclose($source);
unlink($tmpFile);
return true;