]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/commands/html/class_HtmlLoginCommand.php
Refacuring / possible WIP:
[core.git] / framework / main / classes / commands / html / class_HtmlLoginCommand.php
index ce67a7909c9e0124ba51c9882b70e47974bf0455..bdd662e0b5975f539f13c24c56510caf6f438c95 100644 (file)
@@ -115,7 +115,7 @@ class HtmlLoginCommand extends BaseCommand implements Commandable {
 
                // 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('login_menu_class', array($applicationInstance));
+               $menuInstance = ObjectFactory::createObjectByConfiguredName('login_menu_class');
 
                // Render the menu
                $menuInstance->renderMenu();