X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcache%2FBacklinkCache.php;h=9dfabfd089644b73a87d435bd5f6f7cd14a3a5ee;hb=b1fae297981bf99cb17e424cc640ef75e98175d5;hp=8c2a19eb6756ea052dcea945704305c484aee2cb;hpb=0aa0a68aa9aac7cebd95a8d9beba55eaf7403432;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/cache/BacklinkCache.php b/includes/cache/BacklinkCache.php index 8c2a19eb67..9dfabfd089 100644 --- a/includes/cache/BacklinkCache.php +++ b/includes/cache/BacklinkCache.php @@ -137,13 +137,13 @@ class BacklinkCache { } /** - * Get the slave connection to the database + * Get the replica DB connection to the database * When non existing, will initialize the connection. * @return DatabaseBase */ protected function getDB() { if ( !isset( $this->db ) ) { - $this->db = wfGetDB( DB_SLAVE ); + $this->db = wfGetDB( DB_REPLICA ); } return $this->db;