Make sure that IDO is the default backend type if available

refs #7163
fixes #7604
This commit is contained in:
Johannes Meyer 2014-11-07 14:47:37 +01:00
parent f85ddeb215
commit bb96316a7c
1 changed files with 2 additions and 1 deletions

View File

@ -39,10 +39,11 @@ class BackendPage extends Form
)
);
$resourceTypes = array('livestatus' => 'Livestatus');
$resourceTypes = array();
if (Platform::extensionLoaded('mysql') || Platform::extensionLoaded('pgsql')) {
$resourceTypes['ido'] = 'IDO';
}
$resourceTypes['livestatus'] = 'Livestatus';
$this->addElement(
'select',