1 This file describes API changes in /grade/* ;
2 Information provided here is intended especially for developers.
6 * The grade_cron() function has been removed. Please use grade_history_cleanup_task and grade_cron_task scheduled tasks instead.
10 * The grade_plugin_return constructor now uses parameters from the
11 request as defaults, which can be overridden by parameters supplied
12 to the constructor. This may lead to a change in behaviour if only
13 some of the possible parameters are supplied.
14 * The grade_plugin_return class now tracks groupid as well as the
15 type, plugin, courseid, userid and page parameters that were tracked
16 previously. The groupid parameter will be set using
17 groups_get_course_group for the relevant course if the group is
18 otherwise unspecified.
19 * The above changes mean that code using grade_plugin_return objects
20 should generally no longer call groups_get_course_group directly,
21 but should use the gpr->groupid parameter instead.
22 * The grade_plugin_return constructor now accepts either course or
23 courseid as a parameter to specify course.