Merge branch 'MDL-55883_m32v1' of https://github.com/sbourget/moodle

This commit is contained in:
Andrew Nicols 2016-11-10 11:06:11 +08:00
commit 96eba6b982

View File

@ -107,6 +107,7 @@ function lesson_update_instance($data, $mform) {
function lesson_update_events($lesson, $override = null) {
global $CFG, $DB;
require_once($CFG->dirroot . '/mod/lesson/locallib.php');
require_once($CFG->dirroot . '/calendar/lib.php');
// Load the old events relating to this lesson.