MDL-59750 core_calendar: better handling of event subscription
[moodle.git] / calendar / classes / external / day_exporter.php
index 0f5b92b..2e56f45 100644 (file)
@@ -26,6 +26,8 @@ namespace core_calendar\external;
 
 defined('MOODLE_INTERNAL') || die();
 
+require_once($CFG->dirroot . '/calendar/lib.php');
+
 use core\external\exporter;
 use renderer_base;
 use moodle_url;