Make MySQL the default choice when configuring database connections again

This commit is contained in:
Eric Lippmann 2015-09-07 17:23:12 +02:00
parent 61f251d6ad
commit 4e1543fd34
1 changed files with 3 additions and 3 deletions

View File

@ -27,12 +27,12 @@ class DbResourceForm extends Form
public function createElements(array $formData) public function createElements(array $formData)
{ {
$dbChoices = array(); $dbChoices = array();
if (Platform::hasMssqlSupport()) {
$dbChoices['mssql'] = 'MSSQL';
}
if (Platform::hasMysqlSupport()) { if (Platform::hasMysqlSupport()) {
$dbChoices['mysql'] = 'MySQL'; $dbChoices['mysql'] = 'MySQL';
} }
if (Platform::hasMssqlSupport()) {
$dbChoices['mssql'] = 'MSSQL';
}
if (Platform::hasOciSupport()) { if (Platform::hasOciSupport()) {
$dbChoices['oci'] = 'Oracle (OCI8)'; $dbChoices['oci'] = 'Oracle (OCI8)';
} }