X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=blobdiff_plain;f=docs%2Fdatabase.txt;h=dbc92044de29a9a7204b45c4d40ef49c58cd8948;hb=8624538de243da3779db5eb3362bedf78d2e2931;hp=44ec764d950d906a7ac8dd6b04b0ba4effdbb559;hpb=b1a5b5b83d56a2af3243295d277bb15f2fafba61;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/database.txt b/docs/database.txt index 44ec764d95..dbc92044de 100644 --- a/docs/database.txt +++ b/docs/database.txt @@ -17,7 +17,7 @@ description of the tables and their contents, please see: To make a read query, something like this usually suffices: -$dbr = wfGetDB( DB_SLAVE ); +$dbr = wfGetDB( DB_REPLICA ); $res = $dbr->select( /* ...see docs... */ ); foreach ( $res as $row ) { ...