feat: Use user display name cache

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2023-07-11 15:33:45 +02:00
parent 683ae36b8b
commit 4a9e399cc9
4 changed files with 9 additions and 11 deletions

View File

@@ -37,7 +37,7 @@ class User extends RelationalObject {
public function getObjectSerialization() {
return [
'uid' => $this->getObject()->getUID(),
'displayname' => $this->getObject()->getDisplayName(),
'displayname' => $this->getDisplayName(),
'type' => Acl::PERMISSION_TYPE_USER
];
}