function userprotect_user_cancel in User protect 7
Implements hook_user_cancel().
File
- ./
userprotect.module, line 505 - Main module file for the userprotect module.
Code
function userprotect_user_cancel($edit, $account, $method) {
switch ($method) {
// Remove a deleted user from the protections table.
case 'user_cancel_reassign':
userprotect_delete_user($account->uid);
break;
}
}