mirror of
https://github.com/moodle/moodle.git
synced 2025-04-05 00:12:42 +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.