summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/group/manager.php7
-rw-r--r--lib/public/igroupmanager.php6
2 files changed, 13 insertions, 0 deletions
diff --git a/lib/private/group/manager.php b/lib/private/group/manager.php
index 12136a1bd25..6399f16f9c8 100644
--- a/lib/private/group/manager.php
+++ b/lib/private/group/manager.php
@@ -98,6 +98,13 @@ class Manager extends PublicEmitter implements IGroupManager {
}
/**
+ * @return \OC_Group_Backend[] Get registered backends
+ */
+ public function getBackends() {
+ return $this->backends;
+ }
+
+ /**
* @param \OC_Group_Backend $backend
*/
public function addBackend($backend) {
diff --git a/lib/public/igroupmanager.php b/lib/public/igroupmanager.php
index ffd459b09e1..4e984e58d89 100644
--- a/lib/public/igroupmanager.php
+++ b/lib/public/igroupmanager.php
@@ -41,6 +41,12 @@ namespace OCP;
*/
interface IGroupManager {
/**
+ * @return \OC_Group_Backend[] Get registered backends
+ * @since 8.1.0
+ */
+ public function getBackends();
+
+ /**
* @param \OCP\UserInterface $backend
* @since 8.0.0
*/