You are here

function fboauth_user_delete in Facebook OAuth (FBOAuth) 7

Same name and namespace in other branches
  1. 6 fboauth.module \fboauth_user_delete()
  2. 7.2 fboauth.module \fboauth_user_delete()

Implements hook_user_delete().

1 call to fboauth_user_delete()
fboauth_user_cancel in ./fboauth.module
Implements hook_user_cancel().

File

./fboauth.module, line 108

Code

function fboauth_user_delete($account) {

  // Passing in a NULL $fbid deletes any existing associations.
  fboauth_save($account->uid, NULL);
}