diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-10-26 17:02:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 17:02:16 +0200 |
commit | 31c3814b0a3d33a25f4fbcc8777037f8c6c14533 (patch) | |
tree | 007400fda91f68473f232ab7fb9a5b4fa3c4b8a3 | |
parent | 50b7a68f023944f0212d97339c8466c39c6d2259 (diff) | |
parent | 70e4884e021c4a496d556323d850f4a6301200cf (diff) | |
download | nextcloud-server-31c3814b0a3d33a25f4fbcc8777037f8c6c14533.tar.gz nextcloud-server-31c3814b0a3d33a25f4fbcc8777037f8c6c14533.zip |
Merge pull request #12038 from nextcloud/assemblystream_size
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 95e324f0468..eaf24f8741a 100644 --- a/apps/dav/lib/Upload/AssemblyStream.php +++ b/apps/dav/lib/Upload/AssemblyStream.php @@ -170,7 +170,9 @@ class AssemblyStream implements \Icewind\Streams\File { * @return array */ public function stream_stat() { - return []; + return [ + 'size' => $this->size, + ]; } /** |