diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-10-29 17:22:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 17:22:03 +0100 |
commit | 061846c7d06ff390673953ac0703e04255bb8a66 (patch) | |
tree | 586d7080822b517c65463683a1caec36e4083891 /apps | |
parent | 4e911226c6faac7150a72c9f88fd4a1185313e5a (diff) | |
parent | 8dcc7fc0f5c5063270ef04b8263f2e3cf303199b (diff) | |
download | nextcloud-server-061846c7d06ff390673953ac0703e04255bb8a66.tar.gz nextcloud-server-061846c7d06ff390673953ac0703e04255bb8a66.zip |
Merge pull request #12112 from nextcloud/backport/12038/stable13
[13] Implement the size of an assembly stream
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/lib/Upload/AssemblyStream.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/dav/lib/Upload/AssemblyStream.php b/apps/dav/lib/Upload/AssemblyStream.php index 1a73669698b..c3002e8458e 100644 --- a/apps/dav/lib/Upload/AssemblyStream.php +++ b/apps/dav/lib/Upload/AssemblyStream.php @@ -161,7 +161,9 @@ class AssemblyStream implements \Icewind\Streams\File { * @return array */ public function stream_stat() { - return []; + return [ + 'size' => $this->size, + ]; } /** |