]> git.mxchange.org Git - city.git/blobdiff - application/city/classes/commands/html/class_CityHtmlLoginCommand.php
Continued:
[city.git] / application / city / classes / commands / html / class_CityHtmlLoginCommand.php
index 7446134ee316648724835083755bd623faa36f61..194ad83a354c13991be2b3ac7c892f2be75357d4 100644 (file)
@@ -8,6 +8,7 @@ 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\Helper\Application\ApplicationHelper;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Request\Requestable;
@@ -76,7 +77,7 @@ class CityHtmlLoginCommand extends BaseCommand implements Commandable, Registera
                GenericRegistry::getRegistry()->addInstance('extra', $this);
 
                // Get the application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
+               $applicationInstance = ApplicationHelper::getSelfInstance();
 
                // Prepare a template instance
                $templateInstance = $this->prepareTemplateInstance($applicationInstance);