]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/filter/validator/class_PasswordValidatorFilter.php
Controller instance shall now be fetched from registry
[core.git] / inc / classes / main / filter / validator / class_PasswordValidatorFilter.php
index 2591f1ea78efc2a4af1a0e65c452dcbeb9b11118..a666d262f4c5c612c8558d3f9f4d52ab172a0b53 100644 (file)
@@ -36,16 +36,12 @@ class PasswordValidatorFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createPasswordValidatorFilter (Controller $controllerInstance) {
+       public final static function createPasswordValidatorFilter () {
                // Get a new instance
                $filterInstance = new PasswordValidatorFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }