Reduce parentheses

This commit is contained in:
Philipp 2022-10-21 09:12:24 +02:00
parent f15878195c
commit cafb23f8f0
No known key found for this signature in database
GPG key ID: 24A7501396EB5432

View file

@ -210,7 +210,7 @@ class Nav
$homelink = DI::session()->get('visitor_home', ''); $homelink = DI::session()->get('visitor_home', '');
} }
if ((DI::args()->getModuleName() != 'home') && (! (DI::userSession()->getLocalUserId()))) { if (DI::args()->getModuleName() != 'home' && ! DI::userSession()->getLocalUserId()) {
$nav['home'] = [$homelink, DI::l10n()->t('Home'), '', DI::l10n()->t('Home Page')]; $nav['home'] = [$homelink, DI::l10n()->t('Home'), '', DI::l10n()->t('Home Page')];
} }