X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=blobdiff_plain;f=maintenance%2FclearInterwikiCache.php;h=ce19974e31476c7dcf2ce09641a15268f0f61f18;hb=21948ec459cbb99167c09b59b7296b7f5d502aa0;hp=13b239fd84fe036a71fd5ed336301e1b486c6b13;hpb=8eac2feedb7ee093d2c48504e1eb2b8a9dbc8452;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/clearInterwikiCache.php b/maintenance/clearInterwikiCache.php index 13b239fd84..ce19974e31 100644 --- a/maintenance/clearInterwikiCache.php +++ b/maintenance/clearInterwikiCache.php @@ -37,7 +37,7 @@ class ClearInterwikiCache extends Maintenance { public function execute() { global $wgLocalDatabases, $wgMemc; - $dbr = $this->getDB( DB_SLAVE ); + $dbr = $this->getDB( DB_REPLICA ); $res = $dbr->select( 'interwiki', [ 'iw_prefix' ], false ); $prefixes = []; foreach ( $res as $row ) {