summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Node
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-04-12 14:55:47 +0200
committerRobin Appelman <robin@icewind.nl>2017-04-12 14:55:47 +0200
commit2f949f4515158ad9e23b108f32c653c9892dab8a (patch)
tree16fad37063c43ba841a94d5c14c4f58f4675ec8b /lib/private/Files/Node
parent18580395d4095842462e035a2d947e716413d2fd (diff)
downloadnextcloud-server-2f949f4515158ad9e23b108f32c653c9892dab8a.tar.gz
nextcloud-server-2f949f4515158ad9e23b108f32c653c9892dab8a.zip
rename Jail::getSourcePath to getUnjailedPath to fix conflict with Local::getSourcePath
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Node')
-rw-r--r--lib/private/Files/Node/Folder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Node/Folder.php b/lib/private/Files/Node/Folder.php
index 45372d0fedf..9809c6b7d11 100644
--- a/lib/private/Files/Node/Folder.php
+++ b/lib/private/Files/Node/Folder.php
@@ -413,7 +413,7 @@ class Folder extends Node implements \OCP\Files\Folder {
$storage = $mount->getStorage();
if ($storage->instanceOfStorage('\OC\Files\Storage\Wrapper\Jail')) {
/** @var \OC\Files\Storage\Wrapper\Jail $storage */
- $jailRoot = $storage->getSourcePath('');
+ $jailRoot = $storage->getUnjailedPath('');
$rootLength = strlen($jailRoot) + 1;
if ($path === $jailRoot) {
return $mount->getMountPoint();