MDL-58803 calendar: Require calendar/lib.php

This commit is contained in:
Jun Pataleta
2017-05-04 13:03:55 +08:00
parent f8633212ee
commit e8d39b3926
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -6612,6 +6612,7 @@ function calendar_cron() {
global $CFG, $DB;
require_once($CFG->dirroot . '/calendar/lib.php');
// In order to execute this we need bennu.
require_once($CFG->libdir.'/bennu/bennu.inc.php');