From 5c0fe934988960ece3ac71d5a1dfc8df405413aa Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 23 Feb 2022 18:11:46 +0100 Subject: move teardown logic to SetupManager Signed-off-by: Robin Appelman --- lib/private/Files/Config/MountProviderCollection.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/private/Files/Config') 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 = []; + } } -- cgit v1.2.3