aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/group/backend.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-01-14 13:58:45 +0100
committerJörn Friedrich Dreyer <jfd@butonic.de>2016-01-14 13:58:45 +0100
commitbd77cd98c9746e2c7997fb72409d83b15cc7eaa9 (patch)
tree04d5863f9d8eb925d4d4ab993ac20dcecf1ce051 /lib/private/group/backend.php
parent8f89e3520d74e1805dc46947742a17683ece6ca7 (diff)
downloadnextcloud-server-bd77cd98c9746e2c7997fb72409d83b15cc7eaa9.tar.gz
nextcloud-server-bd77cd98c9746e2c7997fb72409d83b15cc7eaa9.zip
allow apps to add an OCP GroupInterface backend
Diffstat (limited to 'lib/private/group/backend.php')
-rw-r--r--lib/private/group/backend.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/group/backend.php b/lib/private/group/backend.php
index 29f24fb3070..ed2a2f4bb68 100644
--- a/lib/private/group/backend.php
+++ b/lib/private/group/backend.php
@@ -53,7 +53,7 @@ define('OC_GROUP_BACKEND_COUNT_USERS', 0x00100000);
/**
* Abstract base class for user management
*/
-abstract class OC_Group_Backend implements OC_Group_Interface {
+abstract class OC_Group_Backend implements \OCP\GroupInterface {
/**
* error code for functions not provided by the group backend
*/
@@ -82,7 +82,7 @@ abstract class OC_Group_Backend implements OC_Group_Interface {
* @return int bitwise-or'ed actions
*
* Returns the supported actions as int to be
- * compared with OC_USER_BACKEND_CREATE_USER etc.
+ * compared with \OC_Group_Backend::CREATE_GROUP etc.
*/
public function getSupportedActions() {
$actions = 0;
@@ -101,7 +101,7 @@ abstract class OC_Group_Backend implements OC_Group_Interface {
* @return bool
*
* Returns the supported actions as int to be
- * compared with OC_GROUP_BACKEND_CREATE_GROUP etc.
+ * compared with \OC_Group_Backend::CREATE_GROUP etc.
*/
public function implementsActions($actions) {
return (bool)($this->getSupportedActions() & $actions);