summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-06 16:07:31 +0100
committerGitHub <noreply@github.com>2017-11-06 16:07:31 +0100
commit5411d60b249cc12b429ed8083e7f34d1415d278e (patch)
treef50b1b15040a14a663427b6868c111c7176a5eb2 /lib/private
parent0256f68c4909ecacc1b2b515253523809a870868 (diff)
parentfa565750d1f94f9d3f7e2229e7ec7aadd0d06063 (diff)
downloadnextcloud-server-5411d60b249cc12b429ed8083e7f34d1415d278e.tar.gz
nextcloud-server-5411d60b249cc12b429ed8083e7f34d1415d278e.zip
Merge pull request #5321 from coletivoEITA/user_ldap_plugins_structure
Implement plugins infrastructure in User_LDAP
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Group/Manager.php13
1 files changed, 11 insertions, 2 deletions
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();