X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fclasses%2Fmain%2Fcontroller%2Fhtml%2Fclass_HtmlRegisterController.php;h=b1d5999ae320609280d7a3ca054373f494bbd885;hb=f68c0d147585336bb415878accdff5c2af6882f8;hp=0c9579035c884af3a5460bc3b3b54f09bd4b4e97;hpb=33df9198674ca343b89dee4f0b8ec0808171cd85;p=core.git diff --git a/inc/classes/main/controller/html/class_HtmlRegisterController.php b/inc/classes/main/controller/html/class_HtmlRegisterController.php index 0c957903..b1d5999a 100644 --- a/inc/classes/main/controller/html/class_HtmlRegisterController.php +++ b/inc/classes/main/controller/html/class_HtmlRegisterController.php @@ -58,26 +58,8 @@ class HtmlRegisterController extends BaseController implements Controller { * @return void */ public function handleRequest (Requestable $requestInstance, Responseable $responseInstance) { - // Get the command instance from the resolver by sending a request instance to the resolver - $commandInstance = $this->getResolverInstance()->resolveCommandByRequest($requestInstance); - - // Add more filters by the command - $commandInstance->addExtraFilters($this, $requestInstance); - - // Run the pre filters - $this->executePreFilters($requestInstance, $responseInstance); - - // This request was valid! :-D - $requestInstance->requestIsValid(); - - // Execute the command - $commandInstance->execute($requestInstance, $responseInstance); - - // Run the post filters - $this->executePostFilters($requestInstance, $responseInstance); - - // Flush the response out - $responseInstance->flushBuffer(); + // Generic pre-post command execution + $this->executeGenericPrePostCommand($requestInstance, $responseInstance); } }