You are here

function bakery_user_logout in Bakery Single Sign-On System 7.4

Same name and namespace in other branches
  1. 8.2 bakery.module \bakery_user_logout()
  2. 6.2 bakery.module \bakery_user_logout()
  3. 6 bakery.module \bakery_user_logout()
  4. 7.2 bakery.module \bakery_user_logout()
  5. 7.3 bakery.module \bakery_user_logout()

Implements hook_user_logout().

File

./bakery.module, line 79

Code

function bakery_user_logout($account) {
  _bakery_destroy_cookie();

  // Destroy session cookie.
  _bakery_destroy_cookie(session_name());
}