From 10ca793452e75ecd276589f8ad916f3090ecb441 Mon Sep 17 00:00:00 2001 From: Vinicius Cubas Brand Date: Thu, 2 Nov 2017 10:40:38 -0200 Subject: Plugins infrastructure in User_LDAP Signed-off-by: Vinicius Cubas Brand --- lib/private/Group/Manager.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'lib/private') diff --git a/lib/private/Group/Manager.php b/lib/private/Group/Manager.php index 15d83380acf..20d19f106b4 100644 --- a/lib/private/Group/Manager.php +++ b/lib/private/Group/Manager.php @@ -74,7 +74,7 @@ class Manager extends PublicEmitter implements IGroupManager { private $cachedGroups = array(); /** - * @var \OC\Group\Group[][] + * @var \OC\Group\Group[] */ private $cachedUserGroups = array(); @@ -144,7 +144,16 @@ class Manager extends PublicEmitter implements IGroupManager { $this->backends = array(); $this->clearCaches(); } - + + /** + * Get the active backends + * @return \OCP\GroupInterface[] + */ + public function getBackends() { + return $this->backends; + } + + protected function clearCaches() { $this->cachedGroups = array(); $this->cachedUserGroups = array(); -- cgit v1.2.3