parent
b70cda77d4
commit
d4dc0177c0
|
@ -442,7 +442,7 @@ class Connection
|
|||
ldap_control_paged_result($this->ds, 0);
|
||||
}
|
||||
|
||||
return $entries; // TODO(7693): Sort entries post-processed
|
||||
return $entries;
|
||||
}
|
||||
|
||||
protected function cleanupAttributes($attrs)
|
||||
|
|
|
@ -309,7 +309,9 @@ class AdminAccountPage extends Form
|
|||
}
|
||||
|
||||
try {
|
||||
return $backend->listUsers();
|
||||
$users = $backend->listUsers();
|
||||
natsort ($users);
|
||||
return $users;
|
||||
} catch (Exception $e) {
|
||||
// No need to handle anything special here. Error means no users found.
|
||||
return array();
|
||||
|
|
Loading…
Reference in New Issue