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 /lib/private/util.php | |
parent | 15833d9843c3ff7c0cb51b95f8610bddb044472d (diff) | |
download | nextcloud-server-e5a107cc455122edf729b61ee249c35caedda02f.tar.gz nextcloud-server-e5a107cc455122edf729b61ee249c35caedda02f.zip |
Fix share mounting recursion
Diffstat (limited to 'lib/private/util.php')
-rw-r--r-- | lib/private/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 6884e55c243..f6191b96aa2 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -165,7 +165,7 @@ class OC_Util { // install storage availability wrapper, before most other wrappers \OC\Files\Filesystem::addStorageWrapper('oc_availability', function ($mountPoint, $storage) { - if (!$storage->isLocal()) { + if (!$storage->instanceOfStorage('\OC\Files\Storage\Shared') && !$storage->isLocal()) { return new \OC\Files\Storage\Wrapper\Availability(['storage' => $storage]); } return $storage; |