/** * Destroy current session */ public static function delCurrent() { // Delete the global object if ($session = LigminchaGlobalSession::getCurrent()) { lgDebug('Session destroyed', $session); LigminchaGlobalDistributed::del(array('id' => $session->id)); } // Delete the SSO cookie LigminchaGlobalSSO::delCookie(); }