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]); }