You are here

function choice_user in Quiz 6.6

Implementation of hook user.

File

question_types/choice/choice.module, line 148
The main file for choice.

Code

function choice_user($op, &$edit, &$account, $category = NULL) {
  switch ($op) {
    case 'delete':
      $sql = 'DELETE FROM {quiz_choice_user_settings}
          WHERE uid = %d';
      db_query($sql, $account->uid);
      break;
  }
}