Skip to content
Snippets Groups Projects
Commit b35aa513 authored by Roman Kreisel's avatar Roman Kreisel
Browse files

Solves #

parent d4ff71c1
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment