Commit b35aa513 authored by Roman Kreisel's avatar Roman Kreisel
Browse files

Solves #

parent d4ff71c1
......@@ -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();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment