Merge branch 'MDL-61554-40' of https://github.com/nwp90/moodle

This commit is contained in:
Sara Arjona 2021-12-09 17:50:58 +01:00
commit 23dea97a6c

View File

@ -31,6 +31,8 @@ if (!$authuserid && !$authusername) {
die('Invalid authentication');
}
$PAGE->set_context(context_system::instance());
// Get the calendar type we are using.
$calendartype = \core_calendar\type_factory::get_calendar_instance();