Auth_Yadis_Discovery::cleanup PHP Метод

cleanup() публичный Метод

Clean up Yadis-related services in the session and return the most-recently-attempted service from the manager, if one exists.
public cleanup ( $force = false )
$force True if the manager should be deleted regardless of whether it's a manager for $this->url.
    function cleanup($force = false)
    {
        $manager = $this->getManager($force);
        if ($manager) {
            $service = $manager->current();
            $this->destroyManager($force);
        } else {
            $service = null;
        }
        return $service;
    }