Remove superfluous fclose
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
d092822263
commit
230f685987
|
@ -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 New Issue