summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-02-28 13:49:27 +0100
committerGitHub <noreply@github.com>2019-02-28 13:49:27 +0100
commit7519a9a9903565f53d6b656fbd328a83df6011b9 (patch)
treef47193d9c8b4081618af605f817a0f70652f21ea /apps/files_trashbin
parentc30ceddcce76ca441481f5e7eed4601df19c505d (diff)
parent8fc47c6f002dd47518cea34ec5fe113fa5b915b7 (diff)
downloadnextcloud-server-7519a9a9903565f53d6b656fbd328a83df6011b9.tar.gz
nextcloud-server-7519a9a9903565f53d6b656fbd328a83df6011b9.zip
Merge pull request #14412 from nextcloud/fileinfo-raw-size
add option to get raw size (without submounts) from fileinfo
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r--apps/files_trashbin/lib/Trash/TrashItem.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_trashbin/lib/Trash/TrashItem.php b/apps/files_trashbin/lib/Trash/TrashItem.php
index 40ceb59abaa..a0a0e1f67ce 100644
--- a/apps/files_trashbin/lib/Trash/TrashItem.php
+++ b/apps/files_trashbin/lib/Trash/TrashItem.php
@@ -82,8 +82,8 @@ class TrashItem implements ITrashItem {
return $this->fileInfo->getEtag();
}
- public function getSize() {
- return $this->fileInfo->getSize();
+ public function getSize($includeMounts = true) {
+ return $this->fileInfo->getSize($includeMounts);
}
public function getMtime() {
@@ -133,7 +133,7 @@ class TrashItem implements ITrashItem {
public function isReadable() {
return $this->fileInfo->isReadable();
}
-
+
public function isUpdateable() {
return $this->fileInfo->isUpdateable();
}