diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-06-03 14:19:17 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-06-03 14:19:17 +0200 |
commit | 0ce2b2708c7d587e51fdf0bdb5b852863d2b0424 (patch) | |
tree | 0b9f2583999050e805864a9809e7d5d827abdd02 /lib | |
parent | 2a82964830e79e0af7a66027cc885174f9954f4d (diff) | |
download | nextcloud-server-0ce2b2708c7d587e51fdf0bdb5b852863d2b0424.tar.gz nextcloud-server-0ce2b2708c7d587e51fdf0bdb5b852863d2b0424.zip |
also clear cached users when removing a single backend
Diffstat (limited to 'lib')
-rw-r--r-- | lib/user/manager.php | 1 |
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]); } |