edx/edx-platform — pull request #649 by adampalay (2013-08-12 19:38:21+00:00)
Title: remove 'preview' from urls in enrollment emails sent while previewing a ...

...course

A temporary fix to make sure, if an instructor sends out enrollment or unenrollment emails when previewing a course, that students do not receive emails to register at preview., but just at . So instead of preview.edge.edx.org, a student would be directed to edge.edx.org. It's hacky, but temporary.

Addresses https://edx-wiki.atlassian.net/browse/LMS-726

@ormsbee
@dianakhuang