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 -1
View File
@@ -25,7 +25,7 @@ namespace core\task;
defined('MOODLE_INTERNAL') || die();
require_once($CFG->libdir . '/cronlib.php');
require_once($CFG->dirroot . '/calendar/lib.php');
/**
* Simple task to run the calendar cron.