aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/SharedStorage.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-11-17 16:31:31 +0100
committerRobin Appelman <robin@icewind.nl>2016-11-17 18:48:39 +0100
commitb85459964cc7962772359f41f765f4f45004ca8c (patch)
tree0c2e60bd08be7e7f55f47a23678d96d9de51c06d /apps/files_sharing/lib/SharedStorage.php
parent2f03fcab4af43de3ee5e0b25aa7aa18ca8f4c4db (diff)
downloadnextcloud-server-b85459964cc7962772359f41f765f4f45004ca8c.tar.gz
nextcloud-server-b85459964cc7962772359f41f765f4f45004ca8c.zip
fix getting root entry when not provided by the share provider
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_sharing/lib/SharedStorage.php')
-rw-r--r--apps/files_sharing/lib/SharedStorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/SharedStorage.php b/apps/files_sharing/lib/SharedStorage.php
index 86209f6f744..5b4aa061800 100644
--- a/apps/files_sharing/lib/SharedStorage.php
+++ b/apps/files_sharing/lib/SharedStorage.php
@@ -94,7 +94,7 @@ class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedSto
private function getSourceRootInfo() {
if (is_null($this->sourceRootInfo)) {
if (is_null($this->superShare->getNodeCacheEntry())) {
- $this->sourceRootInfo = $this->storage->getCache()->get($this->rootPath);
+ $this->sourceRootInfo = $this->getWrapperStorage()->getCache()->get($this->rootPath);
} else {
$this->sourceRootInfo = $this->superShare->getNodeCacheEntry();
}