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 "User: Avoid deprecated Linker::link()"
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
ForeignDBViaLBRepo.php
diff --git
a/includes/filerepo/ForeignDBViaLBRepo.php
b/includes/filerepo/ForeignDBViaLBRepo.php
index
a9cd030
..
bcd253f
100644
(file)
--- a/
includes/filerepo/ForeignDBViaLBRepo.php
+++ b/
includes/filerepo/ForeignDBViaLBRepo.php
@@
-73,7
+73,7
@@
class ForeignDBViaLBRepo extends LocalRepo {
* @return Closure
*/
protected function getDBFactory() {
* @return Closure
*/
protected function getDBFactory() {
- return function( $index ) {
+ return function
( $index ) {
return wfGetLB( $this->wiki )->getConnectionRef( $index, [], $this->wiki );
};
}
return wfGetLB( $this->wiki )->getConnectionRef( $index, [], $this->wiki );
};
}
@@
-100,7
+100,7
@@
class ForeignDBViaLBRepo 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.' );
}
public function getInfo() {
}
public function getInfo() {