aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-03-08 11:23:20 +0100
committerVincent Petry <pvince81@owncloud.com>2016-03-08 14:46:42 +0100
commite5a107cc455122edf729b61ee249c35caedda02f (patch)
tree8c4547d8a43de747554bbcd1fc6c2abc15c7dec4 /lib/private/util.php
parent15833d9843c3ff7c0cb51b95f8610bddb044472d (diff)
downloadnextcloud-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.php2
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;