haveAuthInfo()) pla_error(_('No one is logged in to that server.')); if (in_array($ldapserver->auth_type, array('cookie','session'))) { syslog_notice (sprintf('Logout for %s',$ldapserver->getLoggedInDN())); $ldapserver->unsetLoginDN() or pla_error(_('Could not logout.')); unset_lastactivity($ldapserver); if (isset($_SESSION['cache'][$ldapserver->server_id]['tree'])) { unset($_SESSION['cache'][$ldapserver->server_id]['tree']); } pla_session_close(); } else pla_error(sprintf(_('Unknown auth_type: %s'), htmlspecialchars($ldapserver->auth_type))); include './header.php'; ?>