diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-03-08 11:23:20 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-03-08 14:46:42 +0100 |
commit | e5a107cc455122edf729b61ee249c35caedda02f (patch) | |
tree | 8c4547d8a43de747554bbcd1fc6c2abc15c7dec4 /apps | |
parent | 15833d9843c3ff7c0cb51b95f8610bddb044472d (diff) | |
download | nextcloud-server-e5a107cc455122edf729b61ee249c35caedda02f.tar.gz nextcloud-server-e5a107cc455122edf729b61ee249c35caedda02f.zip |
Fix share mounting recursion
Diffstat (limited to 'apps')
-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; } |