function openid_user_logout

Implements hook_user_logout().

Delete any openid_identifier in visitor cookie.

File

modules/openid/openid.module, line 116

Code

function openid_user_logout($account) {
    if (isset($_COOKIE['Drupal_visitor_openid_identifier'])) {
        user_cookie_delete('openid_identifier');
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.