Skip to content

Commit

Permalink
MDL-55883 mod_lesson: Missing include in lesson_update_events
Browse files Browse the repository at this point in the history
  • Loading branch information
sbourget committed Oct 27, 2016
1 parent 919b9df commit 9ff8cdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mod/lesson/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9ff8cdd

Please sign in to comment.