diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-15 12:40:15 +0200 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-04-19 14:04:00 +0200 |
commit | c98fef8a51aa9828097db697fde2641771ed24c7 (patch) | |
tree | d35ff3ccbddaf951390f2cf2bac2bbb5d46dde73 /lib/private/files | |
parent | 92abb5f23d3beb7e60c9f3a656a7ca41b5812da7 (diff) | |
download | nextcloud-server-c98fef8a51aa9828097db697fde2641771ed24c7.tar.gz nextcloud-server-c98fef8a51aa9828097db697fde2641771ed24c7.zip |
Fix resolve path
Diffstat (limited to 'lib/private/files')
-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)]; } } |