X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fcity%2Fclasses%2Fcommands%2Fhtml%2Fclass_CityHtmlConfirmCommand.php;h=81a6cabd0f80f7b262ec166f155f4cb8839afcf7;hb=083892d43cd5e566fba63c0ef6d1c75dde5944f2;hp=fc48015f12475039f5637e0c5fb247d80595f248;hpb=d02662505cd16f5dd74e7aaa1d26a0aa65588f6a;p=city.git diff --git a/application/city/classes/commands/html/class_CityHtmlConfirmCommand.php b/application/city/classes/commands/html/class_CityHtmlConfirmCommand.php index fc48015..81a6cab 100644 --- a/application/city/classes/commands/html/class_CityHtmlConfirmCommand.php +++ b/application/city/classes/commands/html/class_CityHtmlConfirmCommand.php @@ -1,4 +1,16 @@ getResolverInstance()->getApplicationInstance(); + $applicationInstance = GenericRegistry::getRegistry()->getInstance('application'); // Prepare a template instance $templateInstance = $this->prepareTemplateInstance($applicationInstance); @@ -100,7 +112,7 @@ class CityHtmlConfirmCommand extends BaseCommand implements Commandable { // Get user instance try { - $userInstance = Registry::getRegistry()->getInstance('user'); + $userInstance = GenericRegistry::getRegistry()->getInstance('user'); } catch (NullPointerException $e) { // Not found user, e.g. when the user is somehow invalid $responseInstance->redirectToConfiguredUrl('html_cmd_user_is_null'); @@ -141,6 +153,3 @@ class CityHtmlConfirmCommand extends BaseCommand implements Commandable { // Empty for now } } - -// [EOF] -?>