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