Fix slow user card when many users in same group, disable loading of all other users (#31947)

This commit is contained in:
Mathieu Moulin 2024-11-16 18:10:08 +01:00 committed by GitHub
parent 7cf1a97673
commit f51935a258
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1940,7 +1940,7 @@ if ($action == 'create' || $action == 'adduserldap')
$exclude = array();
$usergroup = new UserGroup($db);
$groupslist = $usergroup->listGroupsForUser($object->id);
$groupslist = $usergroup->listGroupsForUser($object->id, false);
if (!empty($groupslist))
{