Show the displayname in the users group list
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
93f5745700
commit
97dbaa26c4
|
@ -174,7 +174,7 @@ class PersonalInfo implements ISettings {
|
||||||
private function getGroups(IUser $user) {
|
private function getGroups(IUser $user) {
|
||||||
$groups = array_map(
|
$groups = array_map(
|
||||||
function(IGroup $group) {
|
function(IGroup $group) {
|
||||||
return $group->getGID();
|
return $group->getDisplayName();
|
||||||
},
|
},
|
||||||
$this->groupManager->getUserGroups($user)
|
$this->groupManager->getUserGroups($user)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue