Renamed to match with new name
[core.git] / inc / classes / main / commands / web / class_WebRegisterCommand.php
index d72a3acd885cbb9e488aabf8eef49e2d77591497..0d2c28ade372addbc3743536e70a5908f973118d 100644 (file)
@@ -106,6 +106,12 @@ class WebRegisterCommand extends BaseCommand implements Commandable, Registerabl
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('register_menu_class', array($appInstance));
 
+               // Render the menu
+               $menuInstance->renderMenu();
+
+               // Transfer it to the template engine instance
+               $menuInstance->transferContentToTemplateEngine($templateInstance);
+
                // ... and all variables. This should be merged together in a pattern
                // to make things easier. A cache mechanism should be added between
                // these two calls to cache compiled templates.