]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/commands/html/class_HtmlHomeCommand.php
Refacuring / possible WIP:
[core.git] / framework / main / classes / commands / html / class_HtmlHomeCommand.php
index ff1a09329d8f176024ade6f92d6f5e0789445e7b..c1135e67c5ebcf81f3767e0fa9f1107141328bc5 100644 (file)
@@ -110,7 +110,7 @@ class HtmlHomeCommand 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('home_menu_class', array($applicationInstance));
+               $menuInstance = ObjectFactory::createObjectByConfiguredName('home_menu_class');
 
                // Render the menu
                $menuInstance->renderMenu();