mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-47931' of git://github.com/jmvedrine/moodle
This commit is contained in:
commit
db387f25de
@ -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.
|
||||
|
@ -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 ===
|
||||
|
Loading…
x
Reference in New Issue
Block a user