You are here

function auth0_user_delete in Auth0 Single Sign On 7.2

Same name and namespace in other branches
  1. 8.2 auth0.module \auth0_user_delete()
  2. 8 auth0.module \auth0_user_delete()

Implements hook_user_delete().

Removes the user from the auth0_user table.

1 call to auth0_user_delete()
auth0_user in ./auth0.module
Implements hook_user().

File

./auth0.module, line 559

Code

function auth0_user_delete($account) {
  db_delete('auth0_user')
    ->condition('drupal_id', $account->uid, '=')
    ->execute();
}