mirror of
https://github.com/moodle/moodle.git
synced 2025-04-03 23:42:39 +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.