Browse Source

Merge pull request #17616 from nextcloud/bug/15486/dont-fclose

Remove superfluous fclose
tags/v18.0.0beta1
Roeland Jago Douma 4 years ago
parent
commit
4c83e9ce5f
No account linked to committer's email address
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      apps/files_external/lib/Lib/Storage/AmazonS3.php

+ 0
- 1
apps/files_external/lib/Lib/Storage/AmazonS3.php 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;

Loading…
Cancel
Save