function feedback_user_cancel in Feedback 7.2
Implements hook_user_cancel().
File
- ./
feedback.module, line 625 - Allows site visitors and users to report issues about this site.
Code
function feedback_user_cancel($edit, $account, $method) {
switch ($method) {
case 'user_cancel_reassign':
db_update('feedback')
->fields(array(
'uid' => 0,
))
->condition('uid', $account->uid)
->execute();
break;
}
}