dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace wfGetDB (discouraged for use) with Maintenance::getDB in dumps scripts
[lhc/web/wiklou.git]
/
maintenance
/
includes
/
BackupDumper.php
diff --git
a/maintenance/includes/BackupDumper.php
b/maintenance/includes/BackupDumper.php
index
08eade9
..
358dc21
100644
(file)
--- 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 =
wfG
etDB( DB_REPLICA );
+ $dbr =
$this->g
etDB( DB_REPLICA );
}
$this->maxCount = $dbr->selectField( $table, "MAX($field)", '', __METHOD__ );
$this->startTime = microtime( true );