]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/filter/checkboxes/class_RulesAcceptedFilter.php
Controller instance shall now be fetched from registry
[core.git] / inc / classes / main / filter / checkboxes / class_RulesAcceptedFilter.php
index 03b769a270c13fe0f6742c94e438c10668d80fff..23664b64f9a6c2a67ca78a4da91ad0e5834608d5 100644 (file)
@@ -37,16 +37,12 @@ class RulesAcceptedFilter 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 createRulesAcceptedFilter (Controller $controllerInstance) {
+       public final static function createRulesAcceptedFilter () {
                // Get a new instance
                $filterInstance = new RulesAcceptedFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }