X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2Frebuildrecentchanges.php;h=7267b2cac498f8890d575562ea97ca5481d48178;hb=bb915b0776c656b89ed5c14352ff92dfb07ce8f2;hp=35af15c8494c2489fbe5b25c81848273d771d007;hpb=3ec2e54afa213457b5aea0e2b9ce15a878158c34;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/rebuildrecentchanges.php b/maintenance/rebuildrecentchanges.php index 35af15c849..7267b2cac4 100644 --- a/maintenance/rebuildrecentchanges.php +++ b/maintenance/rebuildrecentchanges.php @@ -367,7 +367,9 @@ class RebuildRecentchanges extends Maintenance { # @NOTE: users with 'bot' rights choose when edits are bot edits or not. That information # may be lost at this point (aside from joining on the patrol log table entries). $botgroups = [ 'bot' ]; - $autopatrolgroups = $wgUseRCPatrol ? User::getGroupsWithPermission( 'autopatrol' ) : []; + $autopatrolgroups = $wgUseRCPatrol ? MediaWikiServices::getInstance() + ->getPermissionManager() + ->getGroupsWithPermission( 'autopatrol' ) : []; # Flag our recent bot edits if ( $botgroups ) {