]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/commands/html/class_HtmlRegisterCommand.php
Refacuring / possible WIP:
[core.git] / framework / main / classes / commands / html / class_HtmlRegisterCommand.php
index fa9aa755110a473e29ad95577b2ca7b2c26c29ef..01128abfd79dd993bb4c65e338d49650eae14edb 100644 (file)
@@ -116,7 +116,7 @@ class HtmlRegisterCommand 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('register_menu_class', array($applicationInstance));
+               $menuInstance = ObjectFactory::createObjectByConfiguredName('register_menu_class');
 
                // Render the menu
                $menuInstance->renderMenu();