Project: moodle
Issue MDL-39959: Replace Legacy events - module
Replace all legacy events related to module. course/dnduploadlib.php: events_trigger('mod_created', $eventdata); course/lib.php: events_trigger('mod_deleted', $eventdata); All places where course modules are created, updated(?) or deleted.
Story points: 20