You are here

function feedback_user in Feedback 5.2

Same name and namespace in other branches
  1. 6.2 feedback.module \feedback_user()

Implementation of hook_user().

File

./feedback.module, line 221
Allows site visitors and users to report issues about this site.

Code

function feedback_user($op, &$edit, &$account) {
  if ($op == 'delete') {
    db_query('UPDATE {feedback} SET uid = 0 WHERE uid = %d', $account->uid);
  }
}