]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/actions/web/class_WebLoginProfileAction.php
A lot rewrites and fixes for weak redirect methods
[shipsimu.git] / inc / classes / main / actions / web / class_WebLoginProfileAction.php
index e7410e4230a7c7f3f2dc3c8ca1a91e774cd71971..09998865be0672c674fd4481a9c875a510b83e37 100644 (file)
@@ -30,12 +30,6 @@ class WebLoginProfileAction extends BaseAction implements Commandable, Registera
        protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
-
-               // Set description
-               $this->setObjectDescription("Web profile action");
-
-               // Generate unique key
-               $this->generateUniqueId();
        }
 
        /**
@@ -75,7 +69,7 @@ class WebLoginProfileAction extends BaseAction implements Commandable, Registera
         */
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Add user status filter here
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_class'));
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter', array($controllerInstance)));
        }
 }