]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/filter/news/class_NewsDownloadFilter.php
Copyright updated, interface RenderableMenu added
[core.git] / inc / classes / main / filter / news / class_NewsDownloadFilter.php
index 8799398e325ac9cda4730ba4a294b18d9de3dc3d..b26562285b87511a8538621c9a66f4f650174f96 100644 (file)
@@ -6,7 +6,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -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;
        }