]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/filter/page/class_RefillPageFilter.php
Controller instance shall now be fetched from registry
[shipsimu.git] / application / ship-simu / main / filter / page / class_RefillPageFilter.php
index d33661e26ae551aa37e1caf6dc7c71223848eb38..1f3d3e88f5ad5b3339791dc56200b072f09a4fa1 100644 (file)
@@ -35,16 +35,12 @@ class RefillPageFilter extends BaseShipSimuFilter 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 createRefillPageFilter (Controller $controllerInstance) {
+       public final static function createRefillPageFilter () {
                // Get a new instance
                $filterInstance = new RefillPageFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }