MDL-39957 course: replaced the course_category_deleted legacy event
MDL-39957 course: replaced the course_restored legacy event