Removed deprecated call to course_rules_invoke_event_by_args() now handled by entity_save() inside of course_enrollment_save().