]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/commands/html/class_HtmlLogoutCommand.php
Rewrite continued:
[core.git] / framework / main / classes / commands / html / class_HtmlLogoutCommand.php
index 9225d79b4b01ffebcab088913286b6d18a5edd19..58d51479f9d9b548cd5d1bcc4c69665eb93b74ad 100644 (file)
@@ -7,6 +7,7 @@ use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Controller\Controller;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Controller\Controller;
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
@@ -72,9 +73,6 @@ class HtmlLogoutCommand extends BaseCommand implements Commandable {
                // Get an auth instance for checking and updating the auth cookies
                $authInstance = ObjectFactory::createObjectByConfiguredName('auth_method_class', array($responseInstance));
 
                // Get an auth instance for checking and updating the auth cookies
                $authInstance = ObjectFactory::createObjectByConfiguredName('auth_method_class', array($responseInstance));
 
-               // Set request instance
-               $authInstance->setRequestInstance($requestInstance);
-
                // Destroy the auth data
                $authInstance->destroyAuthData();
 
                // Destroy the auth data
                $authInstance->destroyAuthData();