mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
also clear cached users when removing a single backend
This commit is contained in:
parent
2a82964830
commit
0ce2b2708c
1 changed files with 1 additions and 0 deletions
|
|
@ -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]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue