public function logout($person)
    {
        $this->_destroySession($person);

        $oneYear = 365 * 24 * 3600;
        $hash = get_hash('AN_LOGIN_REMEMBER');

        setcookie($hash, '', time() - $oneYear, '/');

        return true;
    }
public function logout($person)
    {
        $this->_destroySession($person);

        $oneYear = 365 * 24 * 3600;
        $hash = get_hash('AN_LOGIN_REMEMBER');

        setcookie($hash, '', time() - $oneYear, '/');

        return true;
    }
public function logout ( $ person ) { $ this -> _destroySession ( $ person ) ; $ oneYear = 365 * 24 * 3600 ; $ hash = get_hash ( 'AN_LOGIN_REMEMBER' ) ; setcookie ( $ hash , '' , time ( ) - $ oneYear , '/' ) ; return true ; }
Deletes a session and logs out the viewer.

@param object ComPeopleDomainEntityPerson
@return bool
Deletes a session and logs out the viewer .