diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-06-15 16:42:39 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-06-15 16:42:39 +0200 |
commit | d666723cb079cb8f9f1fab36110aea63afbde710 (patch) | |
tree | ee50c449da7e9c9388b10ddde6a0e4246882c861 /apps/provisioning_api/lib/Controller/AUserData.php | |
parent | d82ef721611654aa3a3aab0ea3c8c85c7e0187d6 (diff) | |
download | nextcloud-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.php | 2 |
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 |