]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/filter/change/class_PasswordChangeFilter.php
'public static final' is correct
[core.git] / inc / classes / main / filter / change / class_PasswordChangeFilter.php
index e7b8b50556ee3899294a85808ca6c37839c48ae1..21f177bbbb72d14f65541e8d11d39f735efb9b8f 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -38,13 +38,10 @@ class PasswordChangeFilter extends BaseFilter implements Filterable {
         * @param       $controllerInstance             An instance of a controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createPasswordChangeFilter (Controller $controllerInstance) {
+       public static final function createPasswordChangeFilter () {
                // Get a new instance
                $filterInstance = new PasswordChangeFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }