Merge pull request #13468 from rummatee/issue13276
don't close input stream when writing in encrypted file
This commit is contained in:
commit
c3b22f05bb
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