Switched calls to use core_grading_get_definitions, core_grade_get_definitions will be deprecated anyway by Moodle