Follow-up 14cffee7: Correct deprecation version comment
[lhc/web/wiklou.git] / maintenance / resetUserTokens.php
index df3f6d7..481da98 100644 (file)
@@ -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 ) {