function feedback_user_delete in Feedback 7.2
Implements hook_user_delete().
File
- ./
feedback.module, line 639 - Allows site visitors and users to report issues about this site.
Code
function feedback_user_delete($account) {
$fids = db_query('SELECT fid FROM {feedback} WHERE uid = :uid', array(
':uid' => $account->uid,
))
->fetchCol();
feedback_delete_multiple($fids);
}