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 "API: Add assertuser parameter"
[lhc/web/wiklou.git]
/
maintenance
/
dumpUploads.php
diff --git
a/maintenance/dumpUploads.php
b/maintenance/dumpUploads.php
index
5b446d8
..
8d63fe5
100644
(file)
--- a/
maintenance/dumpUploads.php
+++ b/
maintenance/dumpUploads.php
@@
-76,7
+76,7
@@
By default, outputs relative paths against the parent directory of $wgUploadDire
* @param bool $shared True to pass shared-dir settings to hash func
*/
function fetchUsed( $shared ) {
* @param bool $shared True to pass shared-dir settings to hash func
*/
function fetchUsed( $shared ) {
- $dbr = $this->getDB( DB_
SLAVE
);
+ $dbr = $this->getDB( DB_
REPLICA
);
$image = $dbr->tableName( 'image' );
$imagelinks = $dbr->tableName( 'imagelinks' );
$image = $dbr->tableName( 'image' );
$imagelinks = $dbr->tableName( 'imagelinks' );
@@
-97,7
+97,7
@@
By default, outputs relative paths against the parent directory of $wgUploadDire
* @param bool $shared True to pass shared-dir settings to hash func
*/
function fetchLocal( $shared ) {
* @param bool $shared True to pass shared-dir settings to hash func
*/
function fetchLocal( $shared ) {
- $dbr = $this->getDB( DB_
SLAVE
);
+ $dbr = $this->getDB( DB_
REPLICA
);
$result = $dbr->select( 'image',
[ 'img_name' ],
'',
$result = $dbr->select( 'image',
[ 'img_name' ],
'',