]> git.mxchange.org Git - shipsimu.git/commitdiff
More wrong calls fixed
authorRoland Häder <roland@mxchange.org>
Fri, 20 Jun 2008 18:11:06 +0000 (18:11 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 20 Jun 2008 18:11:06 +0000 (18:11 +0000)
application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php
application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php

index 0c9e6cbe60e1e156613eea9e5c3562a648e39551..2fd8165f7500c7f9cd33bf729ed46c26e5185a1d 100644 (file)
@@ -102,7 +102,7 @@ class WebShipsimuGuestLoginCommand extends BaseCommand implements Commandable {
         */
        function addExtraFilters (Controller $controllerInstance) {
                // Which login type do we have?
-               switch ($commandInstance->getConfigInstance()->readConfig('login_type')) {
+               switch ($this->getConfigInstance()->readConfig('login_type')) {
                        case "username": // Login via username
                                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_verifier_class'));
                                break;
index 3721c08e73321ee8904cd6edd7433b77c554ffde..2eff7322c6eee3c463d1a38b5b66b40e9cdc1970 100644 (file)
@@ -102,7 +102,7 @@ class WebShipsimuUserLoginCommand extends BaseCommand implements Commandable {
         */
        function addExtraFilters (Controller $controllerInstance) {
                // Which login type do we have?
-               switch ($commandInstance->getConfigInstance()->readConfig('login_type')) {
+               switch ($this->getConfigInstance()->readConfig('login_type')) {
                        case "username": // Login via username
                                $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_verifier_class'));
                                break;