From 0c7c7954842f020dbe8c2f020e1557c4c68d4097 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 6 Oct 2022 00:07:21 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=91=B7=20lint=20code=20to=20MediaWi?= =?UTF-8?q?ki=20standards?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Check commit and GitHub actions for more details --- includes/Hooks/SkinHooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Hooks/SkinHooks.php b/includes/Hooks/SkinHooks.php index fa2f4e66..37d96fa3 100644 --- a/includes/Hooks/SkinHooks.php +++ b/includes/Hooks/SkinHooks.php @@ -102,7 +102,7 @@ class SkinHooks implements unset( $links['user-menu']['tmpuserpage'] ); // Remove links as they are added to the bottom of user menu later // unset( $links['user-menu']['logout'] ); - } else if ( $isRegistered ) { + } elseif ( $isRegistered ) { // Remove user page link from user menu and recreate it in user info unset( $links['user-menu']['userpage'] ); } else {