diff options
author | Robin Appelman <robin@icewind.nl> | 2022-02-23 18:11:46 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2022-03-04 16:29:50 +0100 |
commit | 5c0fe934988960ece3ac71d5a1dfc8df405413aa (patch) | |
tree | a4b4cded5a1876ba58651f87a385df16c2460f63 /lib/private/Files/Config | |
parent | 15ff65c12fafbe1c4026fa6f734fb58fdbdcda11 (diff) | |
download | nextcloud-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.php | 6 |
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 = []; + } } |