MDL-39957 course: replaced the course_deleted legacy event