From dc7d55c857707360d70fa013701424d3696af8ce Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 11 Aug 2016 10:45:05 +0200 Subject: Flag to not recurse into shared mounts in getPath --- apps/files_sharing/lib/sharedstorage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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 -- cgit v1.2.3