mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
edde68e078
On some larger sites, processing the navigation with format_string will habitually load all the contexts for navigation which can take 400+ DB queries. Explicitly tying all those format_string calls to the system context reduces this overhead to a single DB query that probably has already been run on the page previously. Co-authored-by: Peter Burnett <peterburnett@catalyst-au.net>