summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-10-21 11:25:23 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-10-21 11:31:07 +0200
commit230f685987d227b07dc164ba304e912531fa4f37 (patch)
tree2ba7d6ed0c14ce241656aece9a20e2d081af603a /apps/files_external/lib
parentd0928222634b021028eb44ab954e6e671528114d (diff)
downloadnextcloud-server-230f685987d227b07dc164ba304e912531fa4f37.tar.gz
nextcloud-server-230f685987d227b07dc164ba304e912531fa4f37.zip
Remove superfluous fclose
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/Lib/Storage/AmazonS3.php1
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;