X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FresetUserTokens.php;h=481da980da02e0a8074a801b304afa0ec08602c0;hb=e19f1c0bcf1ae80f776ae649fd2c06f89c6e4fbc;hp=131a569d6c481a2d9612907b855234f2ad3165d0;hpb=500889f19005b4aed93c5b6eaafd35689fce7dcd;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/resetUserTokens.php b/maintenance/resetUserTokens.php index 131a569d6c..481da980da 100644 --- a/maintenance/resetUserTokens.php +++ b/maintenance/resetUserTokens.php @@ -67,8 +67,9 @@ class ResetUserTokens extends Maintenance { wfCountDown( 5 ); } + // We list user by user_id from one of the replica DBs // We list user by user_id from one of the slave database - $dbr = $this->getDB( DB_SLAVE ); + $dbr = $this->getDB( DB_REPLICA ); $where = []; if ( $this->nullsOnly ) {