Style and IDEA warning cleanups
[lhc/web/wiklou.git] / includes / cache / LinkBatch.php
index ec37dd6..e6d8630 100644 (file)
@@ -188,7 +188,7 @@ class LinkBatch {
                }
 
                // This is similar to LinkHolderArray::replaceInternal
-               $dbr = wfGetDB( DB_SLAVE );
+               $dbr = wfGetDB( DB_REPLICA );
                $table = 'page';
                $fields = array_merge(
                        LinkCache::getSelectFields(),