Do not use getDisplayName for groups
it is not supported in Nextcloud 11 https://github.com/nextcloud/server/pull/4690 https://github.com/nextcloud/server/pull/2833 Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -35,7 +35,7 @@ class Group extends RelationalObject {
|
|||||||
public function getObjectSerialization() {
|
public function getObjectSerialization() {
|
||||||
return [
|
return [
|
||||||
'uid' => $this->object->getGID(),
|
'uid' => $this->object->getGID(),
|
||||||
'displayname' => $this->object->getDisplayName()
|
'displayname' => $this->object->getGID()
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user