Make MySQL the default choice when configuring database connections again
This commit is contained in:
parent
61f251d6ad
commit
4e1543fd34
|
@ -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)';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue