X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fdb%2FMWLBFactory.php;h=80eb2f70fb0d32f5f7ab0ff06cfbefd51ac83b18;hb=38190f6608f3d2807cb93b1bae7edb770af36ef8;hp=0c17840e4a178a132819df2014d907433b4475e1;hpb=71dec6feac5d1c18feb51c977ca94a4d5d1a2012;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/db/MWLBFactory.php b/includes/db/MWLBFactory.php index 0c17840e4a..80eb2f70fb 100644 --- a/includes/db/MWLBFactory.php +++ b/includes/db/MWLBFactory.php @@ -168,7 +168,7 @@ abstract class MWLBFactory { * @return array */ private static function getDbTypesWithSchemas() { - return [ 'postgres', 'mssql' ]; + return [ 'postgres' ]; } /** @@ -193,16 +193,6 @@ abstract class MWLBFactory { // Work around the reserved word usage in MediaWiki schema 'keywordTableMap' => [ 'user' => 'mwuser', 'text' => 'pagecontent' ] ]; - } elseif ( $server['type'] === 'oracle' ) { - $server += [ - // Work around the reserved word usage in MediaWiki schema - 'keywordTableMap' => [ 'user' => 'mwuser', 'text' => 'pagecontent' ] - ]; - } elseif ( $server['type'] === 'mssql' ) { - $server += [ - 'port' => $options->get( 'DBport' ), - 'useWindowsAuth' => $options->get( 'DBWindowsAuthentication' ) - ]; } if ( in_array( $server['type'], self::getDbTypesWithSchemas(), true ) ) {