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 structure test for ContentHandler::makeEmptyContent()"
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
FileBackendDBRepoWrapper.php
diff --git
a/includes/filerepo/FileBackendDBRepoWrapper.php
b/includes/filerepo/FileBackendDBRepoWrapper.php
index
aec337e
..
596dbde
100644
(file)
--- a/
includes/filerepo/FileBackendDBRepoWrapper.php
+++ b/
includes/filerepo/FileBackendDBRepoWrapper.php
@@
-27,7
+27,7
@@
* @brief Proxy backend that manages file layout rewriting for FileRepo.
*
* LocalRepo may be configured to store files under their title names or by SHA-1.
* @brief Proxy backend that manages file layout rewriting for FileRepo.
*
* LocalRepo may be configured to store files under their title names or by SHA-1.
- * This acts as a shim in the later case, providing backwards compatability for
+ * This acts as a shim in the lat
t
er case, providing backwards compatability for
* most callers. All "public"/"deleted" zone files actually go in an "original"
* container and are never changed.
*
* most callers. All "public"/"deleted" zone files actually go in an "original"
* container and are never changed.
*
@@
-94,7
+94,7
@@
class FileBackendDBRepoWrapper extends FileBackend {
* @return array Translated paths in same order
*/
public function getBackendPaths( array $paths, $latest = true ) {
* @return array Translated paths in same order
*/
public function getBackendPaths( array $paths, $latest = true ) {
- $db = $this->getDB( $latest ? DB_MASTER : DB_
SLAVE
);
+ $db = $this->getDB( $latest ? DB_MASTER : DB_
REPLICA
);
// @TODO: batching
$resolved = [];
// @TODO: batching
$resolved = [];