function quiz_user in Quiz 6.4
Implementation of hook user().
File
- ./
quiz.module, line 1413 - Quiz Module
Code
function quiz_user($op, &$edit, &$account, $category = NULL) {
switch ($op) {
case 'delete':
$sql = 'DELETE FROM {quiz_user_settings}
WHERE uid = %d';
db_query($sql, $account->uid);
if (variable_get('quiz_durod', 0)) {
_quiz_delete_users_results($account->uid);
}
break;
}
}