diff options
Diffstat (limited to 'core/Command/User/Setting.php')
-rw-r--r-- | core/Command/User/Setting.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/User/Setting.php b/core/Command/User/Setting.php index 521ac850b92..e084b94cc8a 100644 --- a/core/Command/User/Setting.php +++ b/core/Command/User/Setting.php @@ -188,7 +188,7 @@ class Setting extends Base { $this->config->setUserValue($uid, $app, $key, $input->getArgument('value')); return 0; - } else if ($input->hasParameterOption('--delete')) { + } elseif ($input->hasParameterOption('--delete')) { if ($input->hasParameterOption('--error-if-not-exists') && $value === null) { $output->writeln('<error>The setting does not exist for user "' . $uid . '".</error>'); return 1; @@ -205,7 +205,7 @@ class Setting extends Base { $this->config->deleteUserValue($uid, $app, $key); return 0; - } else if ($value !== null) { + } elseif ($value !== null) { $output->writeln($value); return 0; } else { |