summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-10-29 17:22:03 +0100
committerGitHub <noreply@github.com>2018-10-29 17:22:03 +0100
commit061846c7d06ff390673953ac0703e04255bb8a66 (patch)
tree586d7080822b517c65463683a1caec36e4083891 /apps
parent4e911226c6faac7150a72c9f88fd4a1185313e5a (diff)
parent8dcc7fc0f5c5063270ef04b8263f2e3cf303199b (diff)
downloadnextcloud-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.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 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,
+ ];
}
/**