You are here

function htmlmail_user_presave in HTML Mail 7

Same name and namespace in other branches
  1. 8.2 htmlmail.module \htmlmail_user_presave()
  2. 7.2 htmlmail.module \htmlmail_user_presave()

Implements hook_user_presave().

File

./htmlmail.module, line 130
Send system emails in HTML.

Code

function htmlmail_user_presave(&$edit, $account, $category) {
  $edit['data']['htmlmail_plaintext'] = empty($edit['htmlmail_plaintext']) ? 0 : 1;
}