Return groups IDs and not Names

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-06-15 16:42:39 +02:00
parent d82ef72161
commit d666723cb0
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 1 additions and 1 deletions

View File

@ -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