X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fincludes%2FBackupDumper.php;h=358dc21e13eddb455b75e8b97bf4d1cb243d3d78;hb=4cc031607c9b8e17265e51372b94399399254966;hp=08eade934f9e0c132b1063b132bb68ee1edc672d;hpb=b14dd60f43a42bf9e37476529de96a23702eabdf;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/includes/BackupDumper.php b/maintenance/includes/BackupDumper.php index 08eade934f..358dc21e13 100644 --- a/maintenance/includes/BackupDumper.php +++ b/maintenance/includes/BackupDumper.php @@ -316,7 +316,7 @@ abstract class BackupDumper extends Maintenance { $dbr = $this->forcedDb; if ( $this->forcedDb === null ) { - $dbr = wfGetDB( DB_REPLICA ); + $dbr = $this->getDB( DB_REPLICA ); } $this->maxCount = $dbr->selectField( $table, "MAX($field)", '', __METHOD__ ); $this->startTime = microtime( true );