More renamed
[shipsimu.git] / application / ship-simu / main / actions / web / class_WebShipSimuLoginProfileAction.php
index 774b7255ea7ec3ddd7fd029ba728aeb026f13f9d..58d674506d413e6b62432711a329786298a0ea9b 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * An action for profile (editing) page
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -38,7 +38,7 @@ class WebShipSimuLoginProfileAction extends BaseShipSimuAction implements Comman
         * @param       $resolverInstance       An instance of an action resolver
         * @return      $actionInstance         An instance of this action class
         */
-       public final static function createWebShipSimuLoginProfileAction (ActionResolver $resolverInstance) {
+       public static final function createWebShipSimuLoginProfileAction (ActionResolver $resolverInstance) {
                // Get a new instance
                $actionInstance = new WebShipSimuLoginProfileAction();
 
@@ -74,7 +74,7 @@ class WebShipSimuLoginProfileAction extends BaseShipSimuAction implements Comman
         */
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Check for user status by default
-               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter', array($controllerInstance)));
+               $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
        }
 }