summaryrefslogtreecommitdiffstats
path: root/lib/private/NavigationManager.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-26 20:26:05 +0200
committerJoas Schilling <coding@schilljs.com>2017-03-26 20:26:05 +0200
commit433958e2e38f4d6935f695e482e80693dc0ffeb9 (patch)
treed351223caf70e4f299e07909beb04fa08ae440d0 /lib/private/NavigationManager.php
parent054e161eb5f4a5c5c13ee322ae8e93ce66f01b13 (diff)
downloadnextcloud-server-433958e2e38f4d6935f695e482e80693dc0ffeb9.tar.gz
nextcloud-server-433958e2e38f4d6935f695e482e80693dc0ffeb9.zip
Move app management to the settings menu
Signed-off-by: Joas Schilling <coding@schilljs.com>
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',