X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=maintenance%2Frebuildrecentchanges.php;h=7267b2cac498f8890d575562ea97ca5481d48178;hb=f9b7ba68ff8485ad12d38934c6d19e85d7157207;hp=35af15c8494c2489fbe5b25c81848273d771d007;hpb=592c19692e8bd1218e9e58c89116566dccce0315;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 ) {