summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-10-26 17:02:16 +0200
committerGitHub <noreply@github.com>2018-10-26 17:02:16 +0200
commit31c3814b0a3d33a25f4fbcc8777037f8c6c14533 (patch)
tree007400fda91f68473f232ab7fb9a5b4fa3c4b8a3
parent50b7a68f023944f0212d97339c8466c39c6d2259 (diff)
parent70e4884e021c4a496d556323d850f4a6301200cf (diff)
downloadnextcloud-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.php4
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,
+ ];
}
/**