summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-05-15 12:34:32 -0700
committerThomas Müller <thomas.mueller@tmit.eu>2013-05-15 12:34:32 -0700
commit4b3c58c2ca0daa21ce68b2d045c50abc35f60e23 (patch)
treeed49a501e7a0573c65ec1959a842148719a69201
parentde2ccf47233335662b24b687c462196878b8a20c (diff)
parentc50bf3e3c54ccbad6b58538fb131924d4f0ff3d7 (diff)
downloadnextcloud-server-4b3c58c2ca0daa21ce68b2d045c50abc35f60e23.tar.gz
nextcloud-server-4b3c58c2ca0daa21ce68b2d045c50abc35f60e23.zip
Merge pull request #3376 from owncloud/fix_for_disappearing_root_mount_point
fix for disappearing root mount point on lib/files/filesystem.php
-rw-r--r--lib/files/filesystem.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index eadd8a93faf..d60d430d77c 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -222,7 +222,10 @@ class Filesystem {
return false;
}
self::$defaultInstance = new View($root);
- self::$mounts = new Mount\Manager();
+
+ if(!self::$mounts) {
+ self::$mounts = new Mount\Manager();
+ }
//load custom mount config
self::initMountPoints($user);