function simplesamlphp_auth_user_delete in simpleSAMLphp Authentication 7.2
Same name and namespace in other branches
- 7.3 simplesamlphp_auth.module \simplesamlphp_auth_user_delete()
- 7 simplesamlphp_auth.module \simplesamlphp_auth_user_delete()
Implements hook_user_delete().
File
- ./
simplesamlphp_auth.module, line 455 - simpleSAMLphp authentication module for Drupal.
Code
function simplesamlphp_auth_user_delete($account) {
db_delete('authmap')
->condition('uid', $account->uid)
->condition('authname', $account->name)
->execute();
}