Controller instance shall now be fetched from registry
[core.git] / inc / classes / main / filter / crypto / class_CaptchaEncryptFilter.php
index 3a20eb2929e248358629cb47a37f7e704f8dec07..7208c60db0e4bb1cd54599cd34225b6d53ed0cf3 100644 (file)
@@ -35,16 +35,12 @@ class CaptchaEncryptFilter 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 createCaptchaEncryptFilter (Controller $controllerInstance) {
+       public final static function createCaptchaEncryptFilter () {
                // Get a new instance
                $filterInstance = new CaptchaEncryptFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }