summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/files/filesystem.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index d60d430d77c..d0cac9dc1d3 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -236,7 +236,9 @@ class Filesystem {
}
static public function initMounts(){
- self::$mounts = new Mount\Manager();
+ if(!self::$mounts) {
+ self::$mounts = new Mount\Manager();
+ }
}
/**