Controller instance shall now be fetched from registry
[core.git] / inc / classes / main / filter / news / class_NewsDownloadFilter.php
index 8799398e325ac9cda4730ba4a294b18d9de3dc3d..5034018f5e086a56a6be2ae0250a44486970338d 100644 (file)
@@ -37,16 +37,12 @@ class NewsDownloadFilter 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 createNewsDownloadFilter (Controller $controllerInstance) {
+       public final static function createNewsDownloadFilter () {
                // Get a new instance
                $filterInstance = new NewsDownloadFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }