oncampus GmbH
Lead maintainer
Moodle does not automatically clean up old calendar entries. Since the calendar quickly becomes full, this can affect Moodle's performance, especially since the calendar block is widely used.
The plugin checks the calendar for old entries. They are only deleted if the starttime and duration of the event added together are older than what is configured as a retention time in the settings.php. This also works for events that were created by users that are themselves already deleted.