mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
MDL-65327 performance: Lazy-load module name strings
This commit is contained in:
parent
6735197cc2
commit
d91aa1e760
4 changed files with 10 additions and 11 deletions
|
@ -260,7 +260,6 @@ class course_modinfo {
|
|||
$modnamesused[$mod->modname] = $modnames[$mod->modname];
|
||||
}
|
||||
}
|
||||
core_collator::asort($modnamesused);
|
||||
return $modnamesused;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue