Make `host` optional for `oci` database resources

`oci` uses Zend's `Oracle` adapter, which does not use this setting at
all.
This commit is contained in:
Eric Lippmann 2023-07-17 13:46:49 +02:00 committed by Johannes Meyer
parent e66f76e881
commit 1b91a93e34
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class DbResourceForm extends Form
$offerMysql = true;
}
if ($dbChoice === 'oracle') {
if ($dbChoice === 'oracle' || $dbChoice === 'oci') {
$hostIsRequired = false;
} else {
$hostIsRequired = true;