]> source.dussan.org Git - nextcloud-server.git/commit
remove explicit fclose from S3->writeStream 26072/head
authorRobin Appelman <robin@icewind.nl>
Thu, 11 Mar 2021 17:05:04 +0000 (18:05 +0100)
committerRobin Appelman <robin@icewind.nl>
Thu, 11 Mar 2021 17:05:04 +0000 (18:05 +0100)
commit3eb764e65d077cd84c1f12c2b32eab6f7f4611ff
tree7bf1b5d2602a9d84642eb9efe12461b77e42c411
parent95cddb84e2d07f105d7120a4f7b37c65419c0943
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>
lib/private/Files/ObjectStore/S3ObjectTrait.php