]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/commands/web/class_WebLogoutDoneCommand.php
Menu classes added, unfinished
[core.git] / inc / classes / main / commands / web / class_WebLogoutDoneCommand.php
index fa11b02c9202f75782bd845e346c0137b2508e5a..123764831d89787f89bebe9f02c631a4469d7363 100644 (file)
@@ -98,6 +98,10 @@ class WebLogoutDoneCommand extends BaseCommand implements Commandable {
                // Assign base URL
                $templateInstance->assignConfigVariable('base_url');
 
+               // 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('logout_menu_class', array($appInstance));
+
                // ... 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.