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
Make sure Swift store operations close the source file handle
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
ForeignDBRepo.php
diff --git
a/includes/filerepo/ForeignDBRepo.php
b/includes/filerepo/ForeignDBRepo.php
index
7fb7a0e
..
3e88508
100644
(file)
--- a/
includes/filerepo/ForeignDBRepo.php
+++ b/
includes/filerepo/ForeignDBRepo.php
@@
-89,7
+89,7
@@
class ForeignDBRepo extends LocalRepo {
/**
* @return IDatabase
*/
/**
* @return IDatabase
*/
- function get
Slave
DB() {
+ function get
Replica
DB() {
return $this->getMasterDB();
}
return $this->getMasterDB();
}
@@
-138,7
+138,7
@@
class ForeignDBRepo extends LocalRepo {
}
protected function assertWritableRepo() {
}
protected function assertWritableRepo() {
- throw new MWException(
get_class( $this )
. ': write operations are not supported.' );
+ throw new MWException(
static::class
. ': write operations are not supported.' );
}
/**
}
/**