]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/filter/news/class_NewsDownloadFilter.php
Updated copyright:
[core.git] / inc / classes / main / filter / news / class_NewsDownloadFilter.php
index 8799398e325ac9cda4730ba4a294b18d9de3dc3d..9f79e76f363eb76bfd02a6bee5edd5ebb593fdb2 100644 (file)
@@ -4,11 +4,11 @@
  * the local database. You *can* register this filter as post filter but for
  * output on web pages it makes no sense.
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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 static final function createNewsDownloadFilter () {
                // Get a new instance
                $filterInstance = new NewsDownloadFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }