UserGroupManager: Use MainConfigNames::PrivilegedGroups rather than string literal
Usages were migrated in7b791474a5, but7a21b9a032added a new one Follows-Up: I6536ef2909caeed047447e8b6a25831d6f00d827 Change-Id: I7360ea3d79e509b602b3e3c572e3a4c3eb8877ff (cherry picked from commit e72b45b6cc0314a3591a7f3462018aad40d8096e)
This commit is contained in:
parent
89034ed158
commit
b249367697
1 changed files with 1 additions and 1 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue