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
editstash: segregate stats by content type for more useful graphing
[lhc/web/wiklou.git]
/
includes
/
Storage
/
NameTableStoreFactory.php
diff --git
a/includes/Storage/NameTableStoreFactory.php
b/includes/Storage/NameTableStoreFactory.php
index
02ea9a7
..
ec364f9
100644
(file)
--- a/
includes/Storage/NameTableStoreFactory.php
+++ b/
includes/Storage/NameTableStoreFactory.php
@@
-94,9
+94,10
@@
class NameTableStoreFactory {
if ( !isset( $infos[$tableName] ) ) {
throw new \InvalidArgumentException( "Invalid table name \$tableName" );
}
if ( !isset( $infos[$tableName] ) ) {
throw new \InvalidArgumentException( "Invalid table name \$tableName" );
}
- if ( $wiki ===
wfWiki
ID() ) {
+ if ( $wiki ===
$this->lbFactory->getLocalDomain
ID() ) {
$wiki = false;
}
$wiki = false;
}
+
if ( isset( $this->stores[$tableName][$wiki] ) ) {
return $this->stores[$tableName][$wiki];
}
if ( isset( $this->stores[$tableName][$wiki] ) ) {
return $this->stores[$tableName][$wiki];
}