mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 14:03:52 +01:00
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
This file describes API changes in /grade/* ;
|
|
Information provided here is intended especially for developers.
|
|
|
|
=== 4.0 ===
|
|
|
|
* There is a new callback inside of grade_get_plugin_info called extend_gradebook_plugininfo
|
|
which allows for new tabs to be added to the gradebook.
|
|
|
|
=== 3.7 ===
|
|
|
|
* The grade_cron() function has been removed. Please use grade_history_cleanup_task and grade_cron_task scheduled tasks instead.
|
|
|
|
=== 3.6 ===
|
|
|
|
* The grade_plugin_return constructor now uses parameters from the
|
|
request as defaults, which can be overridden by parameters supplied
|
|
to the constructor. This may lead to a change in behaviour if only
|
|
some of the possible parameters are supplied.
|
|
* The grade_plugin_return class now tracks groupid as well as the
|
|
type, plugin, courseid, userid and page parameters that were tracked
|
|
previously. The groupid parameter will be set using
|
|
groups_get_course_group for the relevant course if the group is
|
|
otherwise unspecified.
|
|
* The above changes mean that code using grade_plugin_return objects
|
|
should generally no longer call groups_get_course_group directly,
|
|
but should use the gpr->groupid parameter instead.
|
|
* The grade_plugin_return constructor now accepts either course or
|
|
courseid as a parameter to specify course.
|