summaryrefslogtreecommitdiffstats
path: root/lib/private/Setup/OCI.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Setup/OCI.php')
-rw-r--r--lib/private/Setup/OCI.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Setup/OCI.php b/lib/private/Setup/OCI.php
index ab00c8a47b2..1d7fe27e8b8 100644
--- a/lib/private/Setup/OCI.php
+++ b/lib/private/Setup/OCI.php
@@ -55,9 +55,9 @@ class OCI extends AbstractDatabase {
$errors = [];
if (empty($config['dbuser']) && empty($config['dbname'])) {
$errors[] = $this->trans->t("%s enter the database username and name.", [$this->dbprettyname]);
- } else if (empty($config['dbuser'])) {
+ } elseif (empty($config['dbuser'])) {
$errors[] = $this->trans->t("%s enter the database username.", [$this->dbprettyname]);
- } else if (empty($config['dbname'])) {
+ } elseif (empty($config['dbname'])) {
$errors[] = $this->trans->t("%s enter the database name.", [$this->dbprettyname]);
}
return $errors;