mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
d77731d612
Moving two relatively expensive DB queries so they are only executed when needed instead of on every function call. They will still only execute once, and not repeatedly during execution of the loop.