Merge pull request #17616 from nextcloud/bug/15486/dont-fclose
Remove superfluous fclose
This commit is contained in:
commit
4c83e9ce5f
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue