mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
don't close input stream when writing in encrypted file
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
This commit is contained in:
parent
011aab52ff
commit
c2f8df0573
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue