fix getting root entry when not provided by the share provider
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
2f03fcab4a
commit
b85459964c
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue