From 2f949f4515158ad9e23b108f32c653c9892dab8a Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 12 Apr 2017 14:55:47 +0200 Subject: rename Jail::getSourcePath to getUnjailedPath to fix conflict with Local::getSourcePath Signed-off-by: Robin Appelman --- apps/files_sharing/lib/Scanner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_sharing/lib/Scanner.php') 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; } -- cgit v1.2.3