summaryrefslogtreecommitdiffstats
path: root/core/command
diff options
context:
space:
mode:
Diffstat (limited to 'core/command')
-rw-r--r--core/command/db/converttype.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php
index cbce1c37101..a2fdab99ba3 100644
--- a/core/command/db/converttype.php
+++ b/core/command/db/converttype.php
@@ -282,17 +282,17 @@ class ConvertType extends Command {
protected function saveDBInfo(InputInterface $input) {
$type = $input->getArgument('type');
$username = $input->getArgument('username');
- $dbhost = $input->getArgument('hostname');
- $dbname = $input->getArgument('database');
+ $dbHost = $input->getArgument('hostname');
+ $dbName = $input->getArgument('database');
$password = $input->getOption('password');
if ($input->getOption('port')) {
- $dbhost .= ':'.$input->getOption('port');
+ $dbHost .= ':'.$input->getOption('port');
}
$this->config->setSystemValues([
'dbtype' => $type,
- 'dbname' => $dbname,
- 'dbhost' => $dbhost,
+ 'dbname' => $dbName,
+ 'dbhost' => $dbHost,
'dbuser' => $username,
'dbpassword' => $password,
]);