diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-16 11:31:04 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-06-16 11:31:04 +0200 |
commit | 497fe93b6c0a7de212e69ec8a343867cb4904dca (patch) | |
tree | 07a4f08a520ee95bc69f3311cef90342195d36d9 /lib/public | |
parent | 171f86ca2e71918809930e823062d93c03833921 (diff) | |
download | nextcloud-server-497fe93b6c0a7de212e69ec8a343867cb4904dca.tar.gz nextcloud-server-497fe93b6c0a7de212e69ec8a343867cb4904dca.zip |
Do not return backends but add a method to check for one
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/igroupmanager.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/public/igroupmanager.php b/lib/public/igroupmanager.php index 4e984e58d89..ec4b03c5d18 100644 --- a/lib/public/igroupmanager.php +++ b/lib/public/igroupmanager.php @@ -41,10 +41,13 @@ namespace OCP; */ interface IGroupManager { /** - * @return \OC_Group_Backend[] Get registered backends + * Checks whether a given backend is used + * + * @param string $backendClass Full classname including complete namespace + * @return bool * @since 8.1.0 */ - public function getBackends(); + public function isBackendUsed($backendClass); /** * @param \OCP\UserInterface $backend |