dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add caching to Title::loadRestrictions()"
[lhc/web/wiklou.git]
/
includes
/
PageProps.php
diff --git
a/includes/PageProps.php
b/includes/PageProps.php
index
5579ba5
..
ed06935
100644
(file)
--- a/
includes/PageProps.php
+++ b/
includes/PageProps.php
@@
-140,7
+140,7
@@
class PageProps {
}
if ( $queryIDs ) {
}
if ( $queryIDs ) {
- $dbr = wfGetDB( DB_
SLAVE
);
+ $dbr = wfGetDB( DB_
REPLICA
);
$result = $dbr->select(
'page_props',
[
$result = $dbr->select(
'page_props',
[
@@
-198,7
+198,7
@@
class PageProps {
}
if ( $queryIDs != [] ) {
}
if ( $queryIDs != [] ) {
- $dbr = wfGetDB( DB_
SLAVE
);
+ $dbr = wfGetDB( DB_
REPLICA
);
$result = $dbr->select(
'page_props',
[
$result = $dbr->select(
'page_props',
[