mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 06:44:33 +02:00
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…
x
Reference in New Issue
Block a user