mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Solves #
This commit is contained in:
parent
d4ff71c1b6
commit
b35aa513ab
1 changed files with 5 additions and 0 deletions
|
|
@ -126,10 +126,15 @@ class Manager extends PublicEmitter implements IGroupManager {
|
|||
*/
|
||||
public function addBackend($backend) {
|
||||
$this->backends[] = $backend;
|
||||
$this->clearCaches();
|
||||
}
|
||||
|
||||
public function clearBackends() {
|
||||
$this->backends = array();
|
||||
$this->clearCaches();
|
||||
}
|
||||
|
||||
protected function clearCaches() {
|
||||
$this->cachedGroups = array();
|
||||
$this->cachedUserGroups = array();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue