summaryrefslogtreecommitdiffstats
path: root/lib/private/Group/Backend.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-11-30 20:21:44 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-12-22 18:34:45 +0100
commit453f3beffaf629efa5c715f7ca88b5c0a1034af8 (patch)
tree68dce83e8613a7dd8321d53567a8f745c46d8266 /lib/private/Group/Backend.php
parent7130fa7b4cddd35e9275f7453593049c1e989562 (diff)
downloadnextcloud-server-453f3beffaf629efa5c715f7ca88b5c0a1034af8.tar.gz
nextcloud-server-453f3beffaf629efa5c715f7ca88b5c0a1034af8.zip
Adding group display name support
Diffstat (limited to 'lib/private/Group/Backend.php')
-rw-r--r--lib/private/Group/Backend.php15
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/private/Group/Backend.php b/lib/private/Group/Backend.php
index 14c36d93422..1e8d62f5e42 100644
--- a/lib/private/Group/Backend.php
+++ b/lib/private/Group/Backend.php
@@ -31,23 +31,14 @@ abstract class Backend implements \OCP\GroupInterface {
*/
const NOT_IMPLEMENTED = -501;
- /**
- * actions that user backends can define
- */
- const CREATE_GROUP = 0x00000001;
- const DELETE_GROUP = 0x00000010;
- const ADD_TO_GROUP = 0x00000100;
- const REMOVE_FROM_GOUP = 0x00001000;
- //OBSOLETE const GET_DISPLAYNAME = 0x00010000;
- const COUNT_USERS = 0x00100000;
-
- protected $possibleActions = array(
+ protected $possibleActions = [
self::CREATE_GROUP => 'createGroup',
self::DELETE_GROUP => 'deleteGroup',
self::ADD_TO_GROUP => 'addToGroup',
self::REMOVE_FROM_GOUP => 'removeFromGroup',
self::COUNT_USERS => 'countUsersInGroup',
- );
+ self::GROUP_DETAILS => 'getGroupDetails',
+ ];
/**
* Get all supported actions