Rename DB_SLAVE constant to DB_REPLICA
[lhc/web/wiklou.git] / includes / cache / BacklinkCache.php
index a516819..9dfabfd 100644 (file)
@@ -143,7 +143,7 @@ class BacklinkCache {
         */
        protected function getDB() {
                if ( !isset( $this->db ) ) {
-                       $this->db = wfGetDB( DB_SLAVE );
+                       $this->db = wfGetDB( DB_REPLICA );
                }
 
                return $this->db;