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

$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;

Loading…
Cancel
Save