diff options
author | Roeland Douma <rullzer@users.noreply.github.com> | 2016-03-08 19:28:09 +0100 |
---|---|---|
committer | Roeland Douma <rullzer@users.noreply.github.com> | 2016-03-08 19:28:09 +0100 |
commit | 8c8ff0eae739206afe14c454df9790d27f303318 (patch) | |
tree | 8c4547d8a43de747554bbcd1fc6c2abc15c7dec4 /apps/files_sharing | |
parent | 15833d9843c3ff7c0cb51b95f8610bddb044472d (diff) | |
parent | e5a107cc455122edf729b61ee249c35caedda02f (diff) | |
download | nextcloud-server-8c8ff0eae739206afe14c454df9790d27f303318.tar.gz nextcloud-server-8c8ff0eae739206afe14c454df9790d27f303318.zip |
Merge pull request #22950 from owncloud/fixsharemountrecursion
Fix share mounting recursion
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/sharedstorage.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/sharedstorage.php b/apps/files_sharing/lib/sharedstorage.php index 600599d7175..6998f94698e 100644 --- a/apps/files_sharing/lib/sharedstorage.php +++ b/apps/files_sharing/lib/sharedstorage.php @@ -85,6 +85,7 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage { } private function isValid() { + $this->init(); return ($this->sourceRootInfo->getPermissions() & Constants::PERMISSION_SHARE) === Constants::PERMISSION_SHARE; } @@ -566,6 +567,7 @@ class Shared extends \OC\Files\Storage\Common implements ISharedStorage { } public function getCache($path = '', $storage = null) { + $this->init(); if (!$storage) { $storage = $this; } |