diff options
author | Florian Schunk <florian.schunk@rwth-aachen.de> | 2019-01-10 00:25:07 +0100 |
---|---|---|
committer | Florian Schunk <florian.schunk@rwth-aachen.de> | 2019-01-10 00:25:07 +0100 |
commit | c2f8df05738797a40e7f73dcfdb34e639e074d94 (patch) | |
tree | f3a3cd97040bc4694a05d5839d5209f066088bab /lib/private/Files/Storage | |
parent | 011aab52ff3c64dcf650ac8aa5c34665b70cc75a (diff) | |
download | nextcloud-server-c2f8df05738797a40e7f73dcfdb34e639e074d94.tar.gz nextcloud-server-c2f8df05738797a40e7f73dcfdb34e639e074d94.zip |
don't close input stream when writing in encrypted file
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
Diffstat (limited to 'lib/private/Files/Storage')
-rw-r--r-- | lib/private/Files/Storage/Wrapper/Encryption.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php index e1c1225e0cc..5485b80985b 100644 --- a/lib/private/Files/Storage/Wrapper/Encryption.php +++ b/lib/private/Files/Storage/Wrapper/Encryption.php @@ -1033,7 +1033,6 @@ class Encryption extends Wrapper { // always fall back to fopen $target = $this->fopen($path, 'w'); list($count, $result) = \OC_Helper::streamCopy($stream, $target); - fclose($stream); fclose($target); return $count; } |