gitlabhq/gitlabhq — pull request #7661 by cirosantilli (2014-09-01 15:34:11+00:00)
Title: Fix missing to on reassign email when unassigned.

Factors out MR and issue email.

When you reassign to unassigned, it says on the email "reassigned to " (empty).

This started out as a refactor but ended on a bug fix: it had already been fixed for issues at https://github.com/cirosantilli/gitlabhq/commit/39f82b7 but not for MRs because of duplication.

Found using https://github.com/UncleGene/flay-haml