diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-03-05 21:22:34 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-03-05 21:22:34 +0100 |
commit | 5da9223d1c61257cbccbc762e6a7c28bc06f110b (patch) | |
tree | 314269687b0075b491fd9643252715f66c70b574 /lib/group | |
parent | b08894ba7727f9bce8d0e41d76ad5d2ae4a3b7e3 (diff) | |
download | nextcloud-server-5da9223d1c61257cbccbc762e6a7c28bc06f110b.tar.gz nextcloud-server-5da9223d1c61257cbccbc762e6a7c28bc06f110b.zip |
make getDisplayNames optional feature for Group Backends, fall back to internal names
Diffstat (limited to 'lib/group')
-rw-r--r-- | lib/group/backend.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/group/backend.php b/lib/group/backend.php index 26a784efb28..2e17b5d0b7f 100644 --- a/lib/group/backend.php +++ b/lib/group/backend.php @@ -33,6 +33,7 @@ define('OC_GROUP_BACKEND_CREATE_GROUP', 0x00000001); define('OC_GROUP_BACKEND_DELETE_GROUP', 0x00000010); define('OC_GROUP_BACKEND_ADD_TO_GROUP', 0x00000100); define('OC_GROUP_BACKEND_REMOVE_FROM_GOUP', 0x00001000); +define('OC_GROUP_BACKEND_GET_DISPLAYNAME', 0x00010000); /** * Abstract base class for user management @@ -43,6 +44,7 @@ abstract class OC_Group_Backend implements OC_Group_Interface { OC_GROUP_BACKEND_DELETE_GROUP => 'deleteGroup', OC_GROUP_BACKEND_ADD_TO_GROUP => 'addToGroup', OC_GROUP_BACKEND_REMOVE_FROM_GOUP => 'removeFromGroup', + OC_GROUP_BACKEND_GET_DISPLAYNAME => 'displayNamesInGroup', ); /** |