aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Node/NonExistingFolder.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Node/NonExistingFolder.php')
-rw-r--r--lib/private/Files/Node/NonExistingFolder.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/Files/Node/NonExistingFolder.php b/lib/private/Files/Node/NonExistingFolder.php
index 5650c99fe73..4489fdaf010 100644
--- a/lib/private/Files/Node/NonExistingFolder.php
+++ b/lib/private/Files/Node/NonExistingFolder.php
@@ -38,6 +38,14 @@ class NonExistingFolder extends Folder {
}
}
+ public function getInternalPath() {
+ if ($this->fileInfo) {
+ return parent::getInternalPath();
+ } else {
+ return $this->getParent()->getMountPoint()->getInternalPath($this->getPath());
+ }
+ }
+
public function stat() {
throw new NotFoundException();
}