Skip to content

Commit

Permalink
corrects sentence in code comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
stopfstedt committed Feb 1, 2025
1 parent 15cbad3 commit b1f4c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ public function restore_user_enrolment(
* @return array The given array of Ilios user records, with duplicates removed.
*/
protected function deduplicate_ilios_users(array $users): array {
// Reverse-sort users by their user ID. In other words, most from most-recently created to oldest.
// Reverse-sort users by their user ID. In other words, from most-recently created to oldest.
array_multisort(array_column($users, 'id'), SORT_DESC, SORT_NUMERIC, $users);
$cache = [];
foreach ($users as $user) {
Expand Down

0 comments on commit b1f4c89

Please sign in to comment.