aboutsummaryrefslogtreecommitdiffstats
path: root/lib/files/filesystem.php
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-19 22:30:03 +0200
committerFlorin Peter <github@florin-peter.de>2013-05-19 22:30:03 +0200
commit079f918d5ca0d242e77717aaeac82bcf011dc745 (patch)
tree81fb8afb4a6f2950ba3a510534e79f7a1107c30c /lib/files/filesystem.php
parentbdd2127f19db92d7f3eccfa0cee402add23529f6 (diff)
downloadnextcloud-server-079f918d5ca0d242e77717aaeac82bcf011dc745.tar.gz
nextcloud-server-079f918d5ca0d242e77717aaeac82bcf011dc745.zip
fix for webdav and wrong reference for findByStorageId
Diffstat (limited to 'lib/files/filesystem.php')
-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();
+ }
}
/**