]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/commands/class_BaseCommand.php
Refacuring / possible WIP:
[core.git] / framework / main / classes / commands / class_BaseCommand.php
index 49c357b89ac60d23c19af742193bb1edfdf1c738..8eba066cf591692d43d638bd3cec89116a79f1cb 100644 (file)
@@ -117,7 +117,7 @@ abstract class BaseCommand extends BaseFrameworkSystem {
 
                // Construct the menu in every command. We could do this in BaseCommand class. But this means
                // *every* command has a navigation system and that is want we don't want.
-               $menuInstance = ObjectFactory::createObjectByConfiguredName($applicationInstance->getAppShortName() . '_' . $this->getResolverInstance()->getCommandName() . '_menu_class', array($applicationInstance));
+               $menuInstance = ObjectFactory::createObjectByConfiguredName($applicationInstance->getAppShortName() . '_' . $this->getResolverInstance()->getCommandName() . '_menu_class');
 
                // Render the menu
                $menuInstance->renderMenu();