summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib/Controller/AUserData.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-15 16:42:39 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-15 16:42:39 +0200
commitd666723cb079cb8f9f1fab36110aea63afbde710 (patch)
treeee50c449da7e9c9388b10ddde6a0e4246882c861 /apps/provisioning_api/lib/Controller/AUserData.php
parentd82ef721611654aa3a3aab0ea3c8c85c7e0187d6 (diff)
downloadnextcloud-server-d666723cb079cb8f9f1fab36110aea63afbde710.tar.gz
nextcloud-server-d666723cb079cb8f9f1fab36110aea63afbde710.zip
Return groups IDs and not Names
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/provisioning_api/lib/Controller/AUserData.php')
-rw-r--r--apps/provisioning_api/lib/Controller/AUserData.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/AUserData.php b/apps/provisioning_api/lib/Controller/AUserData.php
index 348eea7c19b..2e29cc1df12 100644
--- a/apps/provisioning_api/lib/Controller/AUserData.php
+++ b/apps/provisioning_api/lib/Controller/AUserData.php
@@ -105,7 +105,7 @@ abstract class AUserData extends OCSController {
$groups = $this->groupManager->getUserGroups($targetUserObject);
$gids = [];
foreach ($groups as $group) {
- $gids[] = $group->getDisplayName();
+ $gids[] = $group->getGID();
}
// Find the data