From 2974d4d3809c75eb3f69474b892fbc12fbe691c9 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Tue, 28 Oct 2014 15:13:29 +0100
Subject: [PATCH] Reset the users setup after clearing mounts

---
 lib/private/files/filesystem.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php
index 51a241a4e3..c7dc99c55c 100644
--- a/lib/private/files/filesystem.php
+++ b/lib/private/files/filesystem.php
@@ -431,6 +431,7 @@ class Filesystem {
 	 */
 	public static function clearMounts() {
 		if (self::$mounts) {
+			self::$usersSetup = array();
 			self::$mounts->clear();
 		}
 	}
-- 
GitLab