MDL-65327 performance: Lazy-load module name strings

This commit is contained in:
Mark Johnson 2019-04-10 16:27:36 +01:00
parent 6735197cc2
commit d91aa1e760
4 changed files with 10 additions and 11 deletions

View file

@ -260,7 +260,6 @@ class course_modinfo {
$modnamesused[$mod->modname] = $modnames[$mod->modname];
}
}
core_collator::asort($modnamesused);
return $modnamesused;
}