aboutsummaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-13 16:42:10 -0400
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-13 16:42:10 -0400
commit77a9e343aae4fc19a1e6fbf71b73e171640ac02a (patch)
tree3d110503a333595b1d7c233ae903dcc79e5f664e /lib/filesystem.php
parent613e15035e3f02a212c9f3ec11ae98fc3ef682c8 (diff)
parentb9f9228a22944184803a8835282862e468812c1d (diff)
downloadnextcloud-server-77a9e343aae4fc19a1e6fbf71b73e171640ac02a.tar.gz
nextcloud-server-77a9e343aae4fc19a1e6fbf71b73e171640ac02a.zip
Merge branch 'master' into sabredav_1.6
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r--lib/filesystem.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index b6909f5acdf..dc678fba74c 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -249,6 +249,14 @@ class OC_Filesystem{
}
/**
+ * clear all mounts and storage backends
+ */
+ public static function clearMounts(){
+ self::$mounts=array();
+ self::$storages=array();
+ }
+
+ /**
* mount an OC_Filestorage in our virtual filesystem
* @param OC_Filestorage storage
* @param string mountpoint