X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fresolver%2Fcommand%2Fweb%2Fclass_WebCommandResolver.php;h=6efd22830f9fa7626da6761f847cedc81d35a5a8;hp=0e5e65de018edc51e0e6c4d1a0b161065241de76;hb=84e2207412d3c6ea9f940a83b2cdd4503509808a;hpb=253b7896740f6146fe92f2caa85c52438c209ae7 diff --git a/inc/classes/main/resolver/command/web/class_WebCommandResolver.php b/inc/classes/main/resolver/command/web/class_WebCommandResolver.php index 0e5e65de..6efd2283 100644 --- a/inc/classes/main/resolver/command/web/class_WebCommandResolver.php +++ b/inc/classes/main/resolver/command/web/class_WebCommandResolver.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -131,7 +131,7 @@ class WebCommandResolver extends BaseCommandResolver implements CommandResolver if ($this->isCommandValid($commandName) === false) { // This command is invalid! throw new InvalidCommandException(array($this, $commandName), self::EXCEPTION_INVALID_COMMAND); - } + } // END - if // Get the command $commandInstance = $this->loadCommand($commandName); @@ -152,12 +152,6 @@ class WebCommandResolver extends BaseCommandResolver implements CommandResolver // Init command instance $commandInstance = null; - // Create class name - $className = $this->getCommandPrefix() . $this->convertToClassName($commandName) . 'Command'; - - // Create command class name - $this->setClassName($className); - // Is this class loaded? if (!class_exists($this->getClassName())) { // Class not found, so throw an exception