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
Merge "Prevent login-only local password provider from removing passwords"
[lhc/web/wiklou.git]
/
maintenance
/
refreshFileHeaders.php
diff --git
a/maintenance/refreshFileHeaders.php
b/maintenance/refreshFileHeaders.php
index
ea5b6f9
..
e075501
100644
(file)
--- a/
maintenance/refreshFileHeaders.php
+++ b/
maintenance/refreshFileHeaders.php
@@
-47,7
+47,7
@@
class RefreshFileHeaders extends Maintenance {
$end = str_replace( ' ', '_', $this->getOption( 'end', '' ) ); // page on img_name
$count = 0;
$end = str_replace( ' ', '_', $this->getOption( 'end', '' ) ); // page on img_name
$count = 0;
- $dbr = $this->getDB( DB_
SLAVE
);
+ $dbr = $this->getDB( DB_
REPLICA
);
do {
$conds = [ "img_name > {$dbr->addQuotes( $start )}" ];
if ( strlen( $end ) ) {
do {
$conds = [ "img_name > {$dbr->addQuotes( $start )}" ];
if ( strlen( $end ) ) {