diff options
author | Robin Appelman <robin@icewind.nl> | 2021-03-11 18:05:04 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-03-11 18:05:04 +0100 |
commit | 3eb764e65d077cd84c1f12c2b32eab6f7f4611ff (patch) | |
tree | 7bf1b5d2602a9d84642eb9efe12461b77e42c411 /lib/private/Files/ObjectStore | |
parent | 95cddb84e2d07f105d7120a4f7b37c65419c0943 (diff) | |
download | nextcloud-server-3eb764e65d077cd84c1f12c2b32eab6f7f4611ff.tar.gz nextcloud-server-3eb764e65d077cd84c1f12c2b32eab6f7f4611ff.zip |
remove explicit fclose from S3->writeStream
streams get closed automatically when dropped, and in some cases the stream seems to be already closed by the S3 library, in which case trying to close it again will raise an error
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/ObjectStore')
-rw-r--r-- | lib/private/Files/ObjectStore/S3ObjectTrait.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/private/Files/ObjectStore/S3ObjectTrait.php b/lib/private/Files/ObjectStore/S3ObjectTrait.php index 80b8a6f132d..4d6ac3608df 100644 --- a/lib/private/Files/ObjectStore/S3ObjectTrait.php +++ b/lib/private/Files/ObjectStore/S3ObjectTrait.php @@ -104,8 +104,6 @@ trait S3ObjectTrait { throw $e; } } - - fclose($countStream); } /** |