eval() commands replace by improved object factory, user login class stub added
[shipsimu.git] / application / ship-simu / main / registration / class_ShipSimuRegistration.php
index 01235f7e60558402c0fc87fdcdabb3d5f96730b8..0a8563cd10c5754e8cb3536e65264e0a0e898e73 100644 (file)
@@ -142,7 +142,11 @@ class ShipSimuRegistration extends BaseRegistration {
         * @return      void
         */
        public function doPostAction () {
-               $this->partialStub();
+               // Get an action instance from our factory
+               $actionInstance = ObjectFactory::createObjectByConfiguredName('post_registration_action');
+
+               // Execute the action
+               $actionInstance->execute($this->getRequestInstance(), $this->getResponseInstance());
        }
 
        /**