function user_delete_cancel_url in User Delete 6.2
Generate a URL to confirm an account cancellation request.
See also
user_cancel_confirm()
1 call to user_delete_cancel_url()
- user_delete_mail_alter in ./
user_delete.module - Implements hook_mail_alter().
File
- ./
user_delete.module, line 492 - Provide account cancellation methods and API to provide the same functionalty as Drupal 7 for cancelling accounts.
Code
function user_delete_cancel_url($account) {
$timestamp = time();
return url("user/{$account->uid}/delete/confirm/{$timestamp}/" . user_pass_rehash($account->pass, $timestamp, $account->login), array(
'absolute' => TRUE,
));
}