diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-10-29 19:22:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 19:22:03 +0300 |
commit | 061846c7d06ff390673953ac0703e04255bb8a66 (patch) | |
tree | 586d7080822b517c65463683a1caec36e4083891 | |
parent | 4e911226c6faac7150a72c9f88fd4a1185313e5a (diff) | |
parent | 8dcc7fc0f5c5063270ef04b8263f2e3cf303199b (diff) |
Merge pull request #12112 from nextcloud/backport/12038/stable13
[13] Implement the size of an assembly stream
-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, + ]; } /** |