MDL-59909 calendar: Try hard not to fail the adhoc task.
Triggering a fatal error in an adhoc task is bad. It will be retried indefinitely. Even though we are not sure how to get a module instance without a course module record, it is possible and should not kill the Moodle site.
Please register or sign in to comment