mirror of
https://github.com/moodle/moodle.git
synced 2025-03-21 08:00:37 +01:00
Merge branch 'MDL-60949_master' of git://github.com/dmonllao/moodle
This commit is contained in:
commit
33b511bbc7
@ -143,6 +143,10 @@ class manager {
|
||||
$models[$modelobj->id] = $model;
|
||||
}
|
||||
}
|
||||
|
||||
// Sort the models by the model name using the current session language.
|
||||
\core_collator::asort_objects_by_method($models, 'get_name');
|
||||
|
||||
return $models;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user