function openid_user_logout in Drupal 7
Implements hook_user_logout().
Delete any openid_identifier in visitor cookie.
File
- modules/
openid/ openid.module, line 116 - Implement OpenID Relying Party support for Drupal
Code
function openid_user_logout($account) {
if (isset($_COOKIE['Drupal_visitor_openid_identifier'])) {
user_cookie_delete('openid_identifier');
}
}