X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=maintenance%2Fincludes%2FBackupDumper.php;h=358dc21e13eddb455b75e8b97bf4d1cb243d3d78;hb=11bf698158125bdbde2111f3c53dab528e4109e0;hp=08eade934f9e0c132b1063b132bb68ee1edc672d;hpb=2b1abed0c2163cf7252d35a7da28e8eb96c38881;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 );