X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2Frebuildrecentchanges.php;h=7267b2cac498f8890d575562ea97ca5481d48178;hb=ae6e0c006e26680ea43d9f7a8ea60b761db036c5;hp=35af15c8494c2489fbe5b25c81848273d771d007;hpb=9d37c792b2ee408b6a01b43a1a649e6074c11c34;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 ) {