Browse Source

Remove superfluous fclose

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/17616/head
Daniel Kesselberg 7 years ago
parent
commit
230f685987
No known key found for this signature in database GPG Key ID: 36E3664E099D0614
  1. 1
      apps/files_external/lib/Lib/Storage/AmazonS3.php

1
apps/files_external/lib/Lib/Storage/AmazonS3.php

@ -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…
Cancel
Save