Merge "Remove duplicate login button from user links user menu."

This commit is contained in:
jenkins-bot 2021-07-28 22:02:06 +00:00 committed by Gerrit Code Review
commit 7ebd1ddc92

View file

@ -188,6 +188,9 @@ class Hooks {
unset( $content_navigation['user-menu']['createaccount'] ); unset( $content_navigation['user-menu']['createaccount'] );
// "Login" link is handled manually by Vector // "Login" link is handled manually by Vector
unset( $content_navigation['user-menu']['login'] ); unset( $content_navigation['user-menu']['login'] );
// Remove duplicate "Login" link added by SkinTemplate::buildPersonalUrls if group read permissions
// are set to false.
unset( $content_navigation['user-menu']['login-private'] );
} }
// ULS and user page links are hidden at lower resolutions. // ULS and user page links are hidden at lower resolutions.