You are here

function simplesamlphp_auth_user_delete in simpleSAMLphp Authentication 7

Same name and namespace in other branches
  1. 7.3 simplesamlphp_auth.module \simplesamlphp_auth_user_delete()
  2. 7.2 simplesamlphp_auth.module \simplesamlphp_auth_user_delete()

Implements hook_user_delete().

File

./simplesamlphp_auth.module, line 363
simpleSAMLphp authentication module for Drupal.

Code

function simplesamlphp_auth_user_delete($account) {
  db_delete('authmap')
    ->condition('uid', $account->uid)
    ->condition('authname', $account->name)
    ->execute();
}