function ExitApplication($token) { if (!empty($token)) { $session = new Sessions(); $session->ClearSession($token); } return; }