diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-10-23 19:51:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-23 19:51:17 +0200 |
commit | 4c83e9ce5f09ea8fdcba1327f81cbf2996bee659 (patch) | |
tree | 809fbdc4acea9d2ea83177e5e5fbab0a82cf6bb0 /apps/files_external | |
parent | c0c63fcbdce3796b576dda2413adf650816c392e (diff) | |
parent | 230f685987d227b07dc164ba304e912531fa4f37 (diff) | |
download | nextcloud-server-4c83e9ce5f09ea8fdcba1327f81cbf2996bee659.tar.gz nextcloud-server-4c83e9ce5f09ea8fdcba1327f81cbf2996bee659.zip |
Merge pull request #17616 from nextcloud/bug/15486/dont-fclose
Remove superfluous fclose
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/Lib/Storage/AmazonS3.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_external/lib/Lib/Storage/AmazonS3.php b/apps/files_external/lib/Lib/Storage/AmazonS3.php index c6cd6e1b2ca..b5e5d12472d 100644 --- a/apps/files_external/lib/Lib/Storage/AmazonS3.php +++ b/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; |