]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/commands/web/class_WebRegisterCommand.php
generateUniqueId() and more useless/deprecated methods removed, code speed-up, link...
[shipsimu.git] / inc / classes / main / commands / web / class_WebRegisterCommand.php
index a8b8110e4da0d509891374043f2877807db17530..42f9379bb4d80ffc97131c4919a59006b40b1528 100644 (file)
@@ -30,15 +30,6 @@ class WebRegisterCommand extends BaseCommand implements Commandable, Registerabl
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set special description
-               $this->setObjectDescription("Command for the registration form");
-
-               // Create unique ID number
-               $this->generateUniqueId();
-
-               // Clean up a little
-               $this->removeSystemArray();
        }
 
        /**
@@ -73,7 +64,7 @@ class WebRegisterCommand extends BaseCommand implements Commandable, Registerabl
                $appInstance = $this->getResolverInstance()->getApplicationInstance();
 
                // Prepare a template instance
-               $templateInstance = $this->prepareTemplateEngine($appInstance);
+               $templateInstance = $this->prepareTemplateInstance($appInstance);
 
                // Assign all the application's data with template variables
                $templateInstance->assignApplicationData($appInstance);