function ccl_new_account_notification in Commerce Checkout Login 7.2
Parameters
$account:
1 call to ccl_new_account_notification()
File
- ./
commerce_checkout_login.module, line 184 - Adds a new checkout pane to allow users to login, create an account or checkout anonymously depending on site configuration.
Code
function ccl_new_account_notification($account) {
// Send a notification email and inform the user about it.
_user_mail_notify('register_no_approval_required', $account);
drupal_set_message(t('A welcome message with further instructions has been sent to your e-mail address.'));
}