summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Node/NonExistingFolder.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-02-27 15:35:44 +0100
committerRobin Appelman <robin@icewind.nl>2019-02-27 15:35:44 +0100
commit8fc47c6f002dd47518cea34ec5fe113fa5b915b7 (patch)
treed414e72b5285a342b000f1f514d73e37964034cc /lib/private/Files/Node/NonExistingFolder.php
parent407c7c2ad356baf83cadbc5edb9db49146766650 (diff)
downloadnextcloud-server-8fc47c6f002dd47518cea34ec5fe113fa5b915b7.tar.gz
nextcloud-server-8fc47c6f002dd47518cea34ec5fe113fa5b915b7.zip
add option to get raw size (without submounts) from fileinfo
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Node/NonExistingFolder.php')
-rw-r--r--lib/private/Files/Node/NonExistingFolder.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Node/NonExistingFolder.php b/lib/private/Files/Node/NonExistingFolder.php
index efc359181c6..f6a1794a531 100644
--- a/lib/private/Files/Node/NonExistingFolder.php
+++ b/lib/private/Files/Node/NonExistingFolder.php
@@ -67,9 +67,9 @@ class NonExistingFolder extends Folder {
}
}
- public function getSize() {
+ public function getSize($includeMounts = true) {
if ($this->fileInfo) {
- return parent::getSize();
+ return parent::getSize($includeMounts);
} else {
throw new NotFoundException();
}