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 "docs: Fix typo on Doxygen main page"
[lhc/web/wiklou.git]
/
includes
/
SiteStatsInit.php
diff --git
a/includes/SiteStatsInit.php
b/includes/SiteStatsInit.php
index
932e1c3
..
2252f8f
100644
(file)
--- a/
includes/SiteStatsInit.php
+++ b/
includes/SiteStatsInit.php
@@
-195,8
+195,8
@@
class SiteStatsInit {
* @return IDatabase
*/
private static function getDB( $index, $groups = [] ) {
* @return IDatabase
*/
private static function getDB( $index, $groups = [] ) {
- $lb = MediaWikiServices::getInstance()->getDBLoadBalancer();
-
-
return $lb->getConnection
( $index, $groups );
+ return MediaWikiServices::getInstance()
+ ->getDBLoadBalancer()
+
->getConnectionRef
( $index, $groups );
}
}
}
}