aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Scanner.php
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 /apps/files_sharing/lib/Scanner.php
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 'apps/files_sharing/lib/Scanner.php')
-rw-r--r--apps/files_sharing/lib/Scanner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Scanner.php b/apps/files_sharing/lib/Scanner.php
index cab04fa9309..8540d296cd6 100644
--- a/apps/files_sharing/lib/Scanner.php
+++ b/apps/files_sharing/lib/Scanner.php
@@ -51,7 +51,7 @@ class Scanner extends \OC\Files\Cache\Scanner {
if ($data === null) {
return null;
}
- $internalPath = $this->storage->getSourcePath($path);
+ $internalPath = $this->storage->getUnjailedPath($path);
$data['permissions'] = $this->storage->getSourceStorage()->getPermissions($internalPath);
return $data;
}