summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Sabre/ITrash.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-05-10 16:12:33 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-05-10 16:12:33 +0200
commit58219638d7bd552a7aa66695038c78c4c0fc309e (patch)
tree3fb34811fdcabbe6bdcf53a57cb41cbaded8c4f5 /apps/files_trashbin/lib/Sabre/ITrash.php
parent58e4ddd63807227d7477fed70f0297a124f64cdf (diff)
downloadnextcloud-server-58219638d7bd552a7aa66695038c78c4c0fc309e.tar.gz
nextcloud-server-58219638d7bd552a7aa66695038c78c4c0fc309e.zip
Trashbin propfind respond to oc:size
In order to display the total size of folders also in the clients (and web) we should return the oc:size. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_trashbin/lib/Sabre/ITrash.php')
-rw-r--r--apps/files_trashbin/lib/Sabre/ITrash.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_trashbin/lib/Sabre/ITrash.php b/apps/files_trashbin/lib/Sabre/ITrash.php
index 7ec27f78859..43e59e03bcf 100644
--- a/apps/files_trashbin/lib/Sabre/ITrash.php
+++ b/apps/files_trashbin/lib/Sabre/ITrash.php
@@ -31,4 +31,6 @@ interface ITrash {
public function getOriginalLocation(): string;
public function getDeletionTime(): int;
+
+ public function getSize();
}