You are here

function nodejs_user_logout in Node.js integration 7

Same name and namespace in other branches
  1. 8 nodejs.module \nodejs_user_logout()
  2. 6 nodejs.module \nodejs_user_logout()

Implements hook_user_logout().

File

./nodejs.module, line 520

Code

function nodejs_user_logout($account) {
  if (isset($_SESSION['nodejs_config'])) {
    nodejs_logout_user($_SESSION['nodejs_config']['authToken']);
  }
}