X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FRevisionList.php;h=fb444bdd3d458454e7882d0e84ffbfd5d7800b03;hb=91e54fcad87b051c0d1aaf6c37cce764ac37c6fb;hp=811870c8c0c22e6afb09a92b260ef9b1eb138846;hpb=3e9d53bfadb9f277ba488422479c28d3444a99fd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/RevisionList.php b/includes/RevisionList.php index 811870c8c0..fb444bdd3d 100644 --- a/includes/RevisionList.php +++ b/includes/RevisionList.php @@ -81,7 +81,7 @@ abstract class RevisionListBase extends ContextSource implements Iterator { */ public function reset() { if ( !$this->res ) { - $this->res = $this->doQuery( wfGetDB( DB_SLAVE ) ); + $this->res = $this->doQuery( wfGetDB( DB_REPLICA ) ); } else { $this->res->rewind(); }