public function userLogOut()
    {
        $result = $this->user_action->logout();
        $this->redirect($result['redirect'], $result['message'], $result['severity']);
    }
public function userLogOut()
    {
        $result = $this->user_action->logout();
        $this->redirect($result['redirect'], $result['message'], $result['severity']);
    }
public function userLogOut ( ) { $ result = $ this -> user_action -> logout ( ) ; $ this -> redirect ( $ result [ 'redirect' ] , $ result [ 'message' ] , $ result [ 'severity' ] ) ; }
Logs out a user
Logs out a user