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
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'); $source = fopen($tmpFile, 'r');
$this->writeObject($path, $source); $this->writeObject($path, $source);
$this->invalidateCache($path); $this->invalidateCache($path);
fclose($source);
unlink($tmpFile); unlink($tmpFile);
return true; return true;