From e9b44c362e7a78d38a2776f0c5c40b6a26b9f87a Mon Sep 17 00:00:00 2001 From: Marcus Funch Date: Sun, 1 Jun 2025 15:33:26 +0200 Subject: [PATCH] Always show 'Accounts' in the profile menu --- src/Content/Nav.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Content/Nav.php b/src/Content/Nav.php index 695d32ffdd..7fb950b5d3 100644 --- a/src/Content/Nav.php +++ b/src/Content/Nav.php @@ -316,9 +316,7 @@ class Nav $nav['messages']['outbox'] = ['message/sent', $this->l10n->t('Outbox'), '', $this->l10n->t('Outbox')]; $nav['messages']['new'] = ['message/new', $this->l10n->t('New Message'), '', $this->l10n->t('New Message')]; - if (User::hasIdentities($this->session->getSubManagedUserId() ?: $this->session->getLocalUserId())) { - $nav['delegation'] = ['delegation', $this->l10n->t('Accounts'), '', $this->l10n->t('Manage other pages')]; - } + $nav['delegation'] = ['delegation', $this->l10n->t('Accounts'), '', $this->l10n->t('Manage other pages')]; $nav['settings'] = ['settings', $this->l10n->t('Settings'), '', $this->l10n->t('Account settings')];