summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/user/manager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/user/manager.php b/lib/user/manager.php
index 07ebed83971..d17cdf1a200 100644
--- a/lib/user/manager.php
+++ b/lib/user/manager.php
@@ -57,6 +57,7 @@ class Manager extends PublicEmitter {
* @param \OC_User_Backend $backend
*/
public function removeBackend($backend) {
+ $this->cachedUsers = array();
if (($i = array_search($backend, $this->backends)) !== false) {
unset($this->backends[$i]);
}