diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-17 03:07:29 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-17 03:07:29 +0000 |
commit | f7b8a6c5da06f6318c515b2a804845c152d3fac0 (patch) | |
tree | 37c06e9bd8919644cc2795a5786f2bb98193aed1 /modules | |
parent | a558be6532577f4c7d529fb54d402d4bc58a2aed (diff) | |
download | brdo-f7b8a6c5da06f6318c515b2a804845c152d3fac0.tar.gz brdo-f7b8a6c5da06f6318c515b2a804845c152d3fac0.tar.bz2 |
#540282 follow-up by David_Rothstein: Removed accidentally introduced menu module dependency from toolbar module.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/toolbar/toolbar.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module index c137942e5..bbfa5b96d 100644 --- a/modules/toolbar/toolbar.module +++ b/modules/toolbar/toolbar.module @@ -159,13 +159,13 @@ function toolbar_build() { ); // Retrieve the admin menu from the database. - $main_menu = menu_load('management'); $links = toolbar_menu_navigation_links(toolbar_get_menu_tree()); + $system_menus = menu_list_system_menus(); $build['toolbar_menu'] = array( '#theme' => 'links', '#links' => $links, '#attributes' => array('id' => 'toolbar-menu'), - '#heading' => array('text' => $main_menu['title'], 'level' => 'h2', 'class' => 'element-invisible'), + '#heading' => array('text' => t($system_menus['management']), 'level' => 'h2', 'class' => 'element-invisible'), ); // Add logout & user account links or login link |