From 24c41250dd2af7df792e262e03bca8affcc0e40f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 20 Jun 2008 18:11:06 +0000 Subject: [PATCH] More wrong calls fixed --- .../main/commands/web/class_WebShipsimuGuestLoginCommand.php | 2 +- .../main/commands/web/class_WebShipsimuUserLoginCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php b/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php index 0c9e6cb..2fd8165 100644 --- a/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php +++ b/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php @@ -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; diff --git a/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php b/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php index 3721c08..2eff732 100644 --- a/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php +++ b/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php @@ -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; -- 2.39.5