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
Rename DB_SLAVE constant to DB_REPLICA
[lhc/web/wiklou.git]
/
includes
/
search
/
SearchEngineFactory.php
diff --git
a/includes/search/SearchEngineFactory.php
b/includes/search/SearchEngineFactory.php
index
67f500c
..
e30869e
100644
(file)
--- a/
includes/search/SearchEngineFactory.php
+++ b/
includes/search/SearchEngineFactory.php
@@
-32,7
+32,7
@@
class SearchEngineFactory {
} elseif ( $configType !== null ) {
$class = $configType;
} else {
- $dbr = wfGetDB( DB_
SLAVE
);
+ $dbr = wfGetDB( DB_
REPLICA
);
$class = $dbr->getSearchEngine();
}