edx/edx-platform — pull request #1634 by flowerhack (2013-11-08 20:34:29+00:00)
Title: Flowerhack/feature/refactor to track enrollment

Now CourseEnrollment.create_enrollment is CourseEnrollment.create_or_update_enrollment, i.e. the Swiss army knife for modifying enrollments.

Since all mode/activation/etc changes are now routed through this one method, it should make tracking events easier for analytics.

@mulby @dianakhuang