LogoutAction.class.php 152 B

1234567
  1. <?php
  2. class LogoutAction implements IAction {
  3. public function execute() {
  4. session_destroy();
  5. return array("success" => "Session logged out.");
  6. }
  7. }