diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-08-11 10:45:05 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-08-15 11:09:39 +0200 |
commit | dc7d55c857707360d70fa013701424d3696af8ce (patch) | |
tree | 0228b6ffd909143bc2fcd3fd22e9944fc8ce9c98 /apps | |
parent | 3717e6237e10f42b6a73980d3033a6b5215e6bf8 (diff) | |
download | nextcloud-server-dc7d55c857707360d70fa013701424d3696af8ce.tar.gz nextcloud-server-dc7d55c857707360d70fa013701424d3696af8ce.zip |
Flag to not recurse into shared mounts in getPath
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/sharedstorage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index 11b30019614..45d36ab4bf3 100644 --- a/apps/files_sharing/lib/sharedstorage.php +++ b/apps/files_sharing/lib/sharedstorage.php @@ -95,7 +95,7 @@ class Shared extends \OC\Files\Storage\Wrapper\Jail implements ISharedStorage { $this->initialized = true; try { Filesystem::initMountPoints($this->superShare->getShareOwner()); - $sourcePath = $this->ownerView->getPath($this->superShare->getNodeId()); + $sourcePath = $this->ownerView->getPath($this->superShare->getNodeId(), false); list($this->sourceStorage, $sourceInternalPath) = $this->ownerView->resolvePath($sourcePath); $this->sourceRootInfo = $this->sourceStorage->getCache()->get($sourceInternalPath); // adjust jail |