function gauth_user_delete in Google Auth 7
Same name and namespace in other branches
- 7.2 gauth.module \gauth_user_delete()
Implements hook_user_delete().
File
- ./
gauth.module, line 136 - Google Auth Api for drupal.
Code
function gauth_user_delete($user) {
$gauth_account = gauth_account_load_by_uid($user->uid);
if ($gauth_account) {
gauth_account_delete($gauth_account);
}
}