Rename DB_SLAVE constant to DB_REPLICA
[lhc/web/wiklou.git] / includes / filerepo / LocalRepo.php
index b108e00..fccb755 100644 (file)
@@ -457,7 +457,7 @@ class LocalRepo extends FileRepo {
         * @return DatabaseBase
         */
        function getSlaveDB() {
-               return wfGetDB( DB_SLAVE );
+               return wfGetDB( DB_REPLICA );
        }
 
        /**
@@ -469,7 +469,7 @@ class LocalRepo extends FileRepo {
        }
 
        /**
-        * Get a callback to get a DB handle given an index (DB_SLAVE/DB_MASTER)
+        * Get a callback to get a DB handle given an index (DB_REPLICA/DB_MASTER)
         * @return Closure
         */
        protected function getDBFactory() {