Controller instance shall now be fetched from registry
[core.git] / inc / classes / main / filter / news / class_NewsProcessFilter.php
index 5ecb0960553438b91c580cf0738833fced24584a..611b73e5ec90fdb806a3a1f0917fe3922f8ab8e4 100644 (file)
@@ -36,16 +36,12 @@ class NewsProcessFilter 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 createNewsProcessFilter (Controller $controllerInstance) {
+       public final static function createNewsProcessFilter () {
                // Get a new instance
                $filterInstance = new NewsProcessFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }