]> git.mxchange.org Git - city.git/blobdiff - application/city/classes/commands/html/class_HtmlLogoutDoneCommand.php
Continued:
[city.git] / application / city / classes / commands / html / class_HtmlLogoutDoneCommand.php
index 5f207705b2b79bfa73b4c5b0cb14f3f53342feb4..09c3e4b4142f630a821a084b0b659a4dd9db451c 100644 (file)
@@ -1,4 +1,16 @@
 <?php
+// Own namespace
+namespace Org\Mxchange\City\Command;
+
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Command\BaseCommand;
+use Org\Mxchange\CoreFramework\Command\Commandable;
+use Org\Mxchange\CoreFramework\Controller\Controller;
+use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
+use Org\Mxchange\CoreFramework\Request\Requestable;
+use Org\Mxchange\CoreFramework\Resolver\Command\CommandResolver;
+use Org\Mxchange\CoreFramework\Response\Responseable;
+
 /**
  * A command for the login failed page
  *
@@ -58,13 +70,13 @@ class HtmlLogoutDoneCommand extends BaseCommand implements Commandable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Get the application instance
-               $applicationInstance = $this->getResolverInstance()->getApplicationInstance();
+               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Prepare a template instance
                $templateInstance = $this->prepareTemplateInstance($applicationInstance);
 
                // Assign application data
-               $templateInstance->assignApplicationData($applicationInstance);
+               $templateInstance->assignApplicationData();
 
                // Load the master template
                $masterTemplate = $applicationInstance->buildMasterTemplateName();
@@ -130,6 +142,3 @@ class HtmlLogoutDoneCommand extends BaseCommand implements Commandable {
                // Empty for now
        }
 }
-
-// [EOF]
-?>