UserGroupManager: Use MainConfigNames::PrivilegedGroups rather than string literal

Usages were migrated in 7b791474a5,
but 7a21b9a032 added a new one

Follows-Up: I6536ef2909caeed047447e8b6a25831d6f00d827
Change-Id: I7360ea3d79e509b602b3e3c572e3a4c3eb8877ff
(cherry picked from commit e72b45b6cc0314a3591a7f3462018aad40d8096e)
This commit is contained in:
Sam Reed 2025-10-08 17:36:00 +01:00 committed by Reedy
parent 89034ed158
commit b249367697

View file

@ -500,7 +500,7 @@ class UserGroupManager {
$groups = array_intersect(
$this->getUserEffectiveGroups( $user, $queryFlags, $recache ),
$this->options->get( 'PrivilegedGroups' )
$this->options->get( MainConfigNames::PrivilegedGroups )
);
$this->hookRunner->onUserPrivilegedGroups( $user, $groups );