Example #1
0
 /**
  * Disconnect {@link User} by Clearing the {@link Session}.
  */
 private function disconnect()
 {
     $session = new Session();
     if ($session->existeAttribut('username')) {
         $session->setAttribut('username', NULL);
     }
     if ($session->existeAttribut('userpass')) {
         $session->setAttribut('userpass', NULL);
     }
     if ($session->existeAttribut('userstatus')) {
         $session->setAttribut('userstatus', NULL);
     }
 }