Merge branch 'MDL-47931' of git://github.com/jmvedrine/moodle

This commit is contained in:
Dan Poltawski 2015-01-13 12:31:22 +00:00
commit db387f25de
2 changed files with 2 additions and 12 deletions

View File

@ -482,18 +482,6 @@ function lesson_grade_item_update($lesson, $grades=null) {
return grade_update('mod/lesson', $lesson->course, 'mod', 'lesson', $lesson->id, 0, $grades, $params);
}
/**
* Delete grade item for given lesson
*
* @category grade
* @param object $lesson object
* @return object lesson
*/
function lesson_grade_item_delete($lesson) {
global $CFG;
}
/**
* List the actions that correspond to a view of this module.
* This is used by the participation report.

View File

@ -1,6 +1,8 @@
This files describes API changes in the lesson code.
=== 2.9 ===
The grade_item_delete function in mod/lesson/lib.php was removed because it was not doing anything and was never called.
A third optional boolean parameter $endreached was added to lesson::update_timer to indicate that end of lesson was reached. This is used by 'completionendreached' custom completion rule.
=== Earlier changes ===