diff options
Diffstat (limited to 'lib/private/files/storage/wrapper/jail.php')
-rw-r--r-- | lib/private/files/storage/wrapper/jail.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/private/files/storage/wrapper/jail.php b/lib/private/files/storage/wrapper/jail.php index 6c2a5199f2e..17558170265 100644 --- a/lib/private/files/storage/wrapper/jail.php +++ b/lib/private/files/storage/wrapper/jail.php @@ -451,8 +451,13 @@ class Jail extends Wrapper { $this->storage->changeLock($this->getSourcePath($path), $type, $provider); } + /** + * Resolve the path for the source of the share + * + * @param string $path + * @return array + */ public function resolvePath($path) { - $path = $this->getSourcePath($path); - return \OC\Files\Filesystem::resolvePath($path); + return [$this->storage, $this->getSourcePath($path)]; } } |