]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/filter/null/class_NullFilter.php
Copyright updated
[core.git] / inc / classes / main / filter / null / class_NullFilter.php
index 3dd83829b2013d9e4c1ad6e06cd6c1b2feee9da2..a6013fb47aefbfb49548aac5c68511d61eb6c56b 100644 (file)
@@ -5,7 +5,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 - 2011 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -36,16 +36,12 @@ class NullFilter 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 createNullFilter (Controller $controllerInstance) {
+       public static final function createNullFilter () {
                // Get a new instance
                $filterInstance = new NullFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }