Attendance and calendar

Re: Attendance and calendar

by Dan Marsden -
Number of replies: 1
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

The reset function gets the existing attendance_sessions that have a "caleventid" field set and then finds those calendar events and deletes them. 

If you still have some old events in the calendar after running that script  these will be events that are not linked to an existing session and you may need to delete them manually - I'm not sure how this would have occurred because the session deletion process should be cleaning up the old events.

In reply to Dan Marsden

Re: Attendance and calendar

by François Lizotte -
Picture of Particularly helpful Moodlers

I just want to addd that I ran into this issue today.


It occurs in courses with two teachers that were backed up and restored. I ran the script to try to delete all events, but some get stuck. There seem to be a bug, but we cannot reproduce it.


François