summaryrefslogtreecommitdiffstats
path: root/lib/private/NavigationManager.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/NavigationManager.php')
-rw-r--r--lib/private/NavigationManager.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php
index 439b4795246..0b1f43d7de9 100644
--- a/lib/private/NavigationManager.php
+++ b/lib/private/NavigationManager.php
@@ -163,8 +163,8 @@ class NavigationManager implements INavigationManager {
}
$this->init = true;
+ $l = $this->l10nFac->get('lib');
if ($this->config->getSystemValue('knowledgebaseenabled', true)) {
- $l = $this->l10nFac->get('lib');
$this->add([
'type' => 'settings',
'id' => 'help',
@@ -177,18 +177,17 @@ class NavigationManager implements INavigationManager {
if ($this->userSession->isLoggedIn()) {
if ($this->isAdmin()) {
- $l = $this->l10nFac->get('settings');
// App management
$this->add([
+ 'type' => 'settings',
'id' => 'core_apps',
- 'order' => 9999,
+ 'order' => 50,
'href' => $this->urlGenerator->linkToRoute('settings.AppSettings.viewApps'),
'icon' => $this->urlGenerator->imagePath('settings', 'apps.svg'),
'name' => $l->t('Apps'),
]);
}
- $l = $this->l10nFac->get('lib');
// Personal settings
$this->add([
'type' => 'settings',