aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Encryption/Enable.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Encryption/Enable.php')
-rw-r--r--core/Command/Encryption/Enable.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/Encryption/Enable.php b/core/Command/Encryption/Enable.php
index c9b842bd2a6..6391eede858 100644
--- a/core/Command/Encryption/Enable.php
+++ b/core/Command/Encryption/Enable.php
@@ -69,7 +69,7 @@ class Enable extends Command {
$defaultModule = $this->config->getAppValue('core', 'default_encryption_module', null);
if ($defaultModule === null) {
$output->writeln('<error>No default module is set</error>');
- } else if (!isset($modules[$defaultModule])) {
+ } elseif (!isset($modules[$defaultModule])) {
$output->writeln('<error>The current default module does not exist: ' . $defaultModule . '</error>');
} else {
$output->writeln('Default module: ' . $defaultModule);