Rename DB_SLAVE constant to DB_REPLICA
[lhc/web/wiklou.git] / includes / content / ContentHandler.php
index 41fdef5..22db08a 100644 (file)
@@ -900,7 +900,7 @@ abstract class ContentHandler {
         * have it / want it.
         */
        public function getAutoDeleteReason( Title $title, &$hasHistory ) {
-               $dbr = wfGetDB( DB_SLAVE );
+               $dbr = wfGetDB( DB_REPLICA );
 
                // Get the last revision
                $rev = Revision::newFromTitle( $title );