MDL-55883 mod_lesson: Missing include in lesson_update_events

This commit is contained in:
Stephen Bourget
2016-11-01 21:21:36 -04:00
parent 2ce1d2c71b
commit b25dab817e
+1
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.