Menu calls added (stubs)
[core.git] / inc / classes / main / commands / web / class_WebLogoutDoneCommand.php
index 123764831d89787f89bebe9f02c631a4469d7363..1cb62fa5d8e229434e1e3101bf0be08dd238dd1a 100644 (file)
@@ -102,6 +102,12 @@ class WebLogoutDoneCommand extends BaseCommand implements Commandable {
                // *every* command has a navigation system and that is want we don't want.
                $menuInstance = ObjectFactory::createObjectByConfiguredName('logout_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.