aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Config
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2022-02-23 18:11:46 +0100
committerRobin Appelman <robin@icewind.nl>2022-03-04 16:29:50 +0100
commit5c0fe934988960ece3ac71d5a1dfc8df405413aa (patch)
treea4b4cded5a1876ba58651f87a385df16c2460f63 /lib/private/Files/Config
parent15ff65c12fafbe1c4026fa6f734fb58fdbdcda11 (diff)
downloadnextcloud-server-5c0fe934988960ece3ac71d5a1dfc8df405413aa.tar.gz
nextcloud-server-5c0fe934988960ece3ac71d5a1dfc8df405413aa.zip
move teardown logic to SetupManager
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Config')
-rw-r--r--lib/private/Files/Config/MountProviderCollection.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/Files/Config/MountProviderCollection.php b/lib/private/Files/Config/MountProviderCollection.php
index ba70e29ab8d..2ca53d385cf 100644
--- a/lib/private/Files/Config/MountProviderCollection.php
+++ b/lib/private/Files/Config/MountProviderCollection.php
@@ -222,4 +222,10 @@ class MountProviderCollection implements IMountProviderCollection, Emitter {
}, []);
return $mounts;
}
+
+ public function clearProviders() {
+ $this->providers = [];
+ $this->homeProviders = [];
+ $this->rootProviders = [];
+ }
}