aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-15 17:16:45 +0200
committerGitHub <noreply@github.com>2018-06-15 17:16:45 +0200
commit2ec4fb43278a9183df5565534aa6b1bc956f5e2d (patch)
tree5fab89bb70f5ef55000886b8e008173a337cd8db /apps/provisioning_api/lib
parent8f6acbff621b02cead64219eb9e6b03f4951075a (diff)
parentf0ce44fedf00951dccdbef11e6e161cdefef9598 (diff)
downloadnextcloud-server-2ec4fb43278a9183df5565534aa6b1bc956f5e2d.tar.gz
nextcloud-server-2ec4fb43278a9183df5565534aa6b1bc956f5e2d.zip
Merge pull request #9883 from nextcloud/return-user-groups-ids
Return groups IDs and not Names
Diffstat (limited to 'apps/provisioning_api/lib')
-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