Skip to content

Commit

Permalink
Install: remove 'mssql' db type
Browse files Browse the repository at this point in the history
This driver is only supported with PHP < 5.3 and we require 5.3.2.

Fixes #17336
  • Loading branch information
dregad committed Jan 14, 2017
1 parent c8312b8 commit 3704e88
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions admin/install.php
Expand Up @@ -587,7 +587,6 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
$t_db_list = array(
'mysqli' => 'MySQL Improved',
'mysql' => 'MySQL',
'mssql' => 'Microsoft SQL Server',
'mssqlnative' => 'Microsoft SQL Server Native Driver',
'pgsql' => 'PostgreSQL',
'oci8' => 'Oracle',
Expand All @@ -598,10 +597,6 @@ function print_test( $p_test_description, $p_result, $p_hard_fail = true, $p_mes
if( version_compare( phpversion(), '5.5.0' ) >= 0 ) {
unset( $t_db_list['mysql']);
}
# mssql is not supported with PHP >= 5.3
if( version_compare( phpversion(), '5.3' ) >= 0 ) {
unset( $t_db_list['mssql']);
}

foreach( $t_db_list as $t_db => $t_db_descr ) {
echo '<option value="' . $t_db . '"' .
Expand Down

0 comments on commit 3704e88

Please sign in to comment.