]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/filter/news/class_NewsProcessFilter.php
Opps, forgot this.
[core.git] / inc / classes / main / filter / news / class_NewsProcessFilter.php
index 5ecb0960553438b91c580cf0738833fced24584a..27ea97e8ae3748bdd8cfa3bb397a5a667d322af6 100644 (file)
@@ -3,11 +3,11 @@
  * A post-filter for processing downloaded news. This will prepare the news fir
  * output to the template engine.
  *
- * @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
@@ -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 static final function createNewsProcessFilter () {
                // Get a new instance
                $filterInstance = new NewsProcessFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }