diff options
author | Aaron Schulz <aschulz@wikimedia.org> | 2019-08-15 08:37:29 -0400 |
---|---|---|
committer | Krinkle <krinklemail@gmail.com> | 2019-09-01 23:27:27 +0000 |
commit | a8cc16cbd7b6a008f8e74f0a24f1ebb6eefec55e (patch) | |
tree | fff6675a42309e8aa875f0eba1709e378a894cb8 /includes/WikiMap.php | |
parent | 3420f0338c91e53139b904e13b912ef7a1c47b65 (diff) | |
download | mediawikicore-a8cc16cbd7b6a008f8e74f0a24f1ebb6eefec55e.tar.gz mediawikicore-a8cc16cbd7b6a008f8e74f0a24f1ebb6eefec55e.zip |
Remove Oracle reference from WikiMap
Bug: T230418
Change-Id: I06536034a9d7f176e65b087cc2d3ad65d172961b
Diffstat (limited to 'includes/WikiMap.php')
-rw-r--r-- | includes/WikiMap.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/WikiMap.php b/includes/WikiMap.php index 03638778a63e..dba60f2d41bf 100644 --- a/includes/WikiMap.php +++ b/includes/WikiMap.php @@ -256,7 +256,7 @@ class WikiMap { * Get the wiki ID of a database domain * * This is like DatabaseDomain::getId() without encoding (for legacy reasons) and - * without the schema if it is the generic installer default of "mediawiki"/"dbo" + * without the schema if it is the generic installer default of "mediawiki" * * @see $wgDBmwschema * @see PostgresInstaller @@ -272,7 +272,7 @@ class WikiMap { // the installer default then it is probably the case that the schema is the same for // all wikis in the farm. Historically, any wiki farm had to make the database/prefix // combination unique per wiki. Ommit the schema if it does not seem wiki specific. - if ( !in_array( $domain->getSchema(), [ null, 'mediawiki', 'dbo' ], true ) ) { + if ( !in_array( $domain->getSchema(), [ null, 'mediawiki' ], true ) ) { // This means a site admin may have specifically taylored the schemas. // Domain IDs might use the form <DB>-<project>- or <DB>-<project>-<language>_, // meaning that the schema portion must be accounted for to disambiguate wikis. |