public function logoffAction()
    {
        $this->addMessage(sprintf($this->_('Good bye: %s.'), $this->currentUser->getFullName()));
        $this->accesslog->logChange($this->getRequest());
        $this->currentUser->unsetAsCurrentUser();
        \Zend_Session::destroy();
        $this->_reroute(array('action' => 'index'), true);
    }
public function logoffAction()
    {
        $this->addMessage(sprintf($this->_('Good bye: %s.'), $this->currentUser->getFullName()));
        $this->accesslog->logChange($this->getRequest());
        $this->currentUser->unsetAsCurrentUser();
        \Zend_Session::destroy();
        $this->_reroute(array('action' => 'index'), true);
    }
public function logoffAction ( ) { $ this -> addMessage ( sprintf ( $ this -> _ ( 'Good bye: %s.' ) , $ this -> currentUser -> getFullName ( ) ) ) ; $ this -> accesslog -> logChange ( $ this -> getRequest ( ) ) ; $ this -> currentUser -> unsetAsCurrentUser ( ) ; \ Zend_Session :: destroy ( ) ; $ this -> _reroute ( array ( 'action' => 'index' ) , true ) ; }
Default logoff action
Default logoff action