]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php
Actions (so called sub-commands) may now have own pre/post filter, profile update...
[shipsimu.git] / application / ship-simu / main / commands / web / class_WebShipsimuGuestLoginCommand.php
index 2fd8165f7500c7f9cd33bf729ed46c26e5185a1d..0ed651a6957e8cdec1452707f6609001d0f8f4fe 100644 (file)
@@ -98,9 +98,10 @@ class WebShipsimuGuestLoginCommand extends BaseCommand implements Commandable {
         * Adds extra filters to the given controller instance
         *
         * @param       $controllerInstance             A controller instance
+        * @param       $requestInstance                An instance of a class with an Requestable interface
         * @return      void
         */
-       function addExtraFilters (Controller $controllerInstance) {
+       public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Which login type do we have?
                switch ($this->getConfigInstance()->readConfig('login_type')) {
                        case "username": // Login via username