X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fstorage%2FmoveToExternal.php;h=e1179920ca495f922dced1ac5fee133a0f3049a8;hb=fc5dced1ce8151b0354e0efda28a7542713f9cbe;hp=80dc7f96202c7111994202086c7e356aeac3b46e;hpb=036fbcc72c20633eaa786f9035576805b337ee72;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/storage/moveToExternal.php b/maintenance/storage/moveToExternal.php index 80dc7f9620..e1179920ca 100644 --- a/maintenance/storage/moveToExternal.php +++ b/maintenance/storage/moveToExternal.php @@ -51,7 +51,7 @@ if ( !defined( 'MEDIAWIKI' ) ) { function moveToExternal( $cluster, $maxID, $minID = 1 ) { $fname = 'moveToExternal'; $dbw = wfGetDB( DB_MASTER ); - $dbr = wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_REPLICA ); $count = $maxID - $minID + 1; $blockSize = 1000;