summaryrefslogtreecommitdiff
path: root/modules/user/user.pages.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.pages.inc')
-rw-r--r--modules/user/user.pages.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc
index f58b24427..00e8a00d2 100644
--- a/modules/user/user.pages.inc
+++ b/modules/user/user.pages.inc
@@ -400,6 +400,7 @@ function user_cancel_confirm_form_submit($form, &$form_state) {
$account = user_save($account, $edit);
_user_mail_notify('cancel_confirm', $account);
drupal_set_message(t('A confirmation request to cancel your account has been sent to your e-mail address.'));
+ watchdog('user', 'Sent account cancellation request to %name %email.', array('%name' => $account->name, '%email' => '<' . $account->mail . '>'), WATCHDOG_NOTICE);
if (!isset($_REQUEST['destination'])) {
$form_state['redirect'] = "user/$account->uid";