7cbb5070f5
Here we are replacing the unnecessary code used to create a course with a call to create_course(), which triggers the event 'course_created'. Nothing more is needed.