mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-55883 mod_lesson: Missing include in lesson_update_events
This commit is contained in:
parent
919b9dfabd
commit
9ff8cdd971
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ function lesson_update_instance($data, $mform) {
|
||||||
function lesson_update_events($lesson, $override = null) {
|
function lesson_update_events($lesson, $override = null) {
|
||||||
global $CFG, $DB;
|
global $CFG, $DB;
|
||||||
|
|
||||||
|
require_once($CFG->dirroot . '/mod/lesson/locallib.php');
|
||||||
require_once($CFG->dirroot . '/calendar/lib.php');
|
require_once($CFG->dirroot . '/calendar/lib.php');
|
||||||
|
|
||||||
// Load the old events relating to this lesson.
|
// Load the old events relating to this lesson.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue