Normalize logout link behavior across themes

This commit is contained in:
Hypolite Petovan
2019-06-11 19:42:08 -04:00
parent fd8844db83
commit 0af10a42b0
9 changed files with 20 additions and 12 deletions
-2
View File
@@ -256,8 +256,6 @@ function frio_remote_nav($a, &$nav)
}
if (!local_user() && !empty($server_url) && !is_null($remoteUser)) {
$nav['logout'] = [$server_url . '/logout', L10n::t('Logout'), '', L10n::t('End this session')];
// user menu
$nav['usermenu'][] = [$server_url . '/profile/' . $remoteUser['nick'], L10n::t('Status'), '', L10n::t('Your posts and conversations')];
$nav['usermenu'][] = [$server_url . '/profile/' . $remoteUser['nick'] . '?tab=profile', L10n::t('Profile'), '', L10n::t('Your profile page')];