function cleanup($force=false)
    {
        $manager = $this->getManager($force);
        if ($manager) {
            $service = $manager->current();
            $this->destroyManager($force);
        } else {
            $service = null;
        }

        return $service;
    }
function cleanup($force=false)
    {
        $manager = $this->getManager($force);
        if ($manager) {
            $service = $manager->current();
            $this->destroyManager($force);
        } else {
            $service = null;
        }

        return $service;
    }
function cleanup ( $ force = false ) { $ manager = $ this -> getManager ( $ force ) ; if ( $ manager ) { $ service = $ manager -> current ( ) ; $ this -> destroyManager ( $ force ) ; } else { $ service = null ; } return $ service ; }
Clean up Yadis-related services in the session and return the
most-recently-attempted service from the manager, if one
exists.

@param bool $force True if the manager should be deleted regardless
of whether it's a manager for $this->url.
@return null|Auth_OpenID_ServiceEndpoint
Clean up Yadis - related services in the session and return the most - recently - attempted service from the manager if one exists .