function tokenauth_user_delete in Token authentication 7
Implements hook_user_delete().
File
- ./
tokenauth.module, line 184
Code
function tokenauth_user_delete($account) {
$sql = 'DELETE FROM {tokenauth_tokens} WHERE uid = :uid';
db_query($sql, array(
':uid' => $account->uid,
));
}