X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FresetUserTokens.php;h=481da980da02e0a8074a801b304afa0ec08602c0;hb=aad97651acf1c8a4c1bf667bfd396563ed51977b;hp=131a569d6c481a2d9612907b855234f2ad3165d0;hpb=3eebaaffcf25c3779725309570de924ad5bea766;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 ) {