mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
Remove unused variable
This commit is contained in:
parent
4b5cf47cce
commit
f9af22e409
@ -50,15 +50,12 @@ class DbResourceForm extends Form
|
|||||||
}
|
}
|
||||||
|
|
||||||
$offerPostgres = false;
|
$offerPostgres = false;
|
||||||
$offerIbm = false;
|
|
||||||
$offerMysql = false;
|
$offerMysql = false;
|
||||||
$dbChoice = isset($formData['db']) ? $formData['db'] : key($dbChoices);
|
$dbChoice = isset($formData['db']) ? $formData['db'] : key($dbChoices);
|
||||||
if ($dbChoice === 'pgsql') {
|
if ($dbChoice === 'pgsql') {
|
||||||
$offerPostgres = true;
|
$offerPostgres = true;
|
||||||
} elseif ($dbChoice === 'mysql') {
|
} elseif ($dbChoice === 'mysql') {
|
||||||
$offerMysql = true;
|
$offerMysql = true;
|
||||||
} elseif ($dbChoice === 'ibm') {
|
|
||||||
$offerIbm = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$socketInfo = '';
|
$socketInfo = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user