Menu calls added (stubs)
[core.git] / inc / classes / main / commands / web / class_WebLoginFailedCommand.php
index 1e39413bebdb9fc0617e49486a1bf1e8b2b2b3b8..1aee707c058b275f0f732d82ab3e4c9b1b87547a 100644 (file)
@@ -102,6 +102,12 @@ class WebLoginFailedCommand extends BaseCommand implements Commandable {
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('login_failed_menu_class', array($appInstance));
 
+               // Render the menu
+               $menuInstance->renderMenu();
+
+               // Transfer it to the template engine instance
+               $menuInstance->transferToTemplateEngine($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.