X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FcleanupTable.inc;h=3ace09cb30e7392042623fd96c4adc95a767e805;hp=a18b81e7d9e55b6e21a45f93054001114f8e7692;hb=f5b9af121a07ecc674a63cbc65c3a01e9fa7d785;hpb=9ba3fca2d8adc56787c8efc32c41424cb212e387 diff --git a/maintenance/cleanupTable.inc b/maintenance/cleanupTable.inc index a18b81e7d9..3ace09cb30 100644 --- a/maintenance/cleanupTable.inc +++ b/maintenance/cleanupTable.inc @@ -106,7 +106,7 @@ class TableCleanup extends Maintenance { * @throws MWException */ public function runTable( $params ) { - $dbr = $this->getDB( DB_SLAVE ); + $dbr = $this->getDB( DB_REPLICA ); if ( array_diff( array_keys( $params ), [ 'table', 'conds', 'index', 'callback' ] )