function fb_user_user_delete in Drupal for Facebook 7.3
Same name and namespace in other branches
- 7.4 fb_user.module \fb_user_user_delete()
Implements hook_user_delete.
User is about to be deleted.
File
- ./
fb_user.module, line 775 - This module manages relations between local Drupal user accounts and their accounts on facebook.com.
Code
function fb_user_user_delete($account) {
$num_deleted = db_delete('fb_user')
->condition('uid', $account->uid)
->execute();
}