X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fcommands%2Fweb%2Fclass_WebLoginFailedCommand.php;h=7c74d7bd2735a999fe68dcf75743a5834f1b9c3d;hb=ec3f744e23fa07132d0c5f435f1f4d75b8d5c481;hp=a60bb8e86db291dbc719a2a29b6817e63e9ac0d3;hpb=5c3d5d84f8f862d0d51f095f9858860f86788ae8;p=shipsimu.git diff --git a/inc/classes/main/commands/web/class_WebLoginFailedCommand.php b/inc/classes/main/commands/web/class_WebLoginFailedCommand.php index a60bb8e..7c74d7b 100644 --- a/inc/classes/main/commands/web/class_WebLoginFailedCommand.php +++ b/inc/classes/main/commands/web/class_WebLoginFailedCommand.php @@ -30,15 +30,6 @@ class WebLoginFailedCommand extends BaseCommand implements Commandable { protected function __construct () { // Call parent constructor parent::__construct(__CLASS__); - - // Set special description - $this->setObjectDescription("Command for the "login failed" page"); - - // Create unique ID number - $this->generateUniqueId(); - - // Clean up a little - $this->removeSystemArray(); } /** @@ -72,6 +63,9 @@ class WebLoginFailedCommand extends BaseCommand implements Commandable { // Prepare a template instance $templateInstance = $this->prepareTemplateInstance($appInstance); + // Assign application data with template engine + $templateInstance->assignApplicationData($appInstance); + // Load the master template $masterTemplate = $appInstance->getMasterTemplate();