Remove superfluous fclose

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2019-10-21 11:25:23 +02:00
parent d092822263
commit 230f685987
No known key found for this signature in database
GPG key ID: 36E3664E099D0614

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;