Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
actually that does the same as before so no point
  • Loading branch information
OAuthority authored May 22, 2024
1 parent abbab22 commit 21f106a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions includes/Specials/SpecialManageWikiDefaultPermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ public function buildMainView() {
$groups = array_keys( $mwPermissions->list() );
$craftedGroups = [];

// ideally this should be a call to Language::getGroupName( $group ), but that method is not static so this will do
foreach ( $groups as $group ) {
$craftedGroups[RequestContext::getMain()->getLanguage()->getGroupName( $group )] = $group;
$craftedGroups[UserGroupMembership::getGroupName( $group )] = $group;
}

$groupSelector = [];
Expand Down

0 comments on commit 21f106a

Please sign in to comment.