Fix the error in html email when pear mail_mime is missing
authorbsitu <bsitu@wikimedia.org>
Mon, 24 Jun 2013 01:06:47 +0000 (18:06 -0700)
committerbsitu <bsitu@wikimedia.org>
Mon, 24 Jun 2013 01:16:28 +0000 (18:16 -0700)
commit3e7fd9f58c972802f941541c6d838d2dfd6343ca
tree58d64c8262ef9026d9d5019d4252799d527bd8b4
parent12610c84e9ba4137511fde443426a951b8339ebd
Fix the error in html email when pear mail_mime is missing

When pear package mail_mime is missing, attempt to send html email throws error:
mail() expects parameter 3 to be string, array given.  This is because the code
doesn't unset the html part of the body when falling back to text email

Change-Id: Ie8c73a481cb9003a0b43893cf4751475bdf5c690
includes/UserMailer.php