diff --git a/lib/private/NavigationManager.php b/lib/private/NavigationManager.php index 17573d9db86da..1f97cf0c92c6d 100644 --- a/lib/private/NavigationManager.php +++ b/lib/private/NavigationManager.php @@ -294,6 +294,7 @@ private function init() { 'id' => 'admin_settings', 'order' => 4, 'href' => $this->urlGenerator->linkToRoute('settings.AdminSettings.index', ['section' => 'overview']), + 'target' => '_blank', 'name' => $l->t('Administration settings'), 'icon' => $this->urlGenerator->imagePath('settings', 'admin.svg'), ]); diff --git a/tests/lib/NavigationManagerTest.php b/tests/lib/NavigationManagerTest.php index 63160e78de728..302825a6b04cf 100644 --- a/tests/lib/NavigationManagerTest.php +++ b/tests/lib/NavigationManagerTest.php @@ -343,7 +343,8 @@ public function providesNavigationConfig() { 'active' => false, 'type' => 'settings', 'classes' => '', - 'unread' => 0 + 'unread' => 0, + 'target' => '_blank', ] ];