mirror of
https://github.com/moodle/moodle.git
synced 2025-04-01 06:22:35 +02:00
Some grade object (outcomes,scales) can be created at site or course context, so this patch just makes sure we use the respective context when applying format_string to the name in the get_name() function.