Skip to content

Commit

Permalink
Move logout to new navigation item
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 28, 2015
1 parent 9dff864 commit a408636
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions library/Icinga/Application/Web.php
Expand Up @@ -307,15 +307,6 @@ public function getMenu()
'label' => t('Navigation'),
'url' => 'navigation',
'priority' => 920
),
'logout' => array(
'label' => t('Logout'),
'url' => 'authentication/logout',
'priority' => 990,
'renderer' => array(
'LogoutNavigationItemRenderer',
'target' => '_self'
)
)
),
'label' => $this->user->getUsername(),
Expand All @@ -324,6 +315,15 @@ public function getMenu()
'renderer' => array(
'UserNavigationItemRenderer'
),
),
'logout' => array(
'label' => t('Logout'),
'url' => 'authentication/logout',
'priority' => 990,
'renderer' => array(
'LogoutNavigationItemRenderer',
'target' => '_self'
)
)
);

Expand Down

0 comments on commit a408636

Please sign in to comment.