You are here

function fboauth_user_delete in Facebook OAuth (FBOAuth) 6

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

Implements hook_user_delete().

1 call to fboauth_user_delete()
fboauth_user in ./fboauth.module
Implements hook_user().

File

./fboauth.module, line 137

Code

function fboauth_user_delete($account) {

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