X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fspecials%2Fpagers%2FUsersPager.php;h=901be38993698095678a7ac51737546c6aca6851;hp=adc1dd8923240b17e4a496a9d6031c968f993318;hb=e758226c91935a1df2b6fd3ed1f18922d8bfb45b;hpb=41746dec38dd7184a2c195bcb9e685caa57af0ed diff --git a/includes/specials/pagers/UsersPager.php b/includes/specials/pagers/UsersPager.php index adc1dd8923..901be38993 100644 --- a/includes/specials/pagers/UsersPager.php +++ b/includes/specials/pagers/UsersPager.php @@ -100,7 +100,7 @@ class UsersPager extends AlphabeticPager { * @return array */ function getQueryInfo() { - $dbr = wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_REPLICA ); $conds = []; // Don't show hidden names @@ -228,7 +228,7 @@ class UsersPager extends AlphabeticPager { } // Lookup groups for all the users - $dbr = wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_REPLICA ); $groupRes = $dbr->select( 'user_groups', [ 'ug_user', 'ug_group' ],