summaryrefslogtreecommitdiffstats
path: root/core/command/encryption/decryptall.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/command/encryption/decryptall.php')
-rw-r--r--core/command/encryption/decryptall.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/command/encryption/decryptall.php b/core/command/encryption/decryptall.php
index 374f635725f..696570b7ae6 100644
--- a/core/command/encryption/decryptall.php
+++ b/core/command/encryption/decryptall.php
@@ -77,13 +77,13 @@ class DecryptAll extends Command {
$this->questionHelper = $questionHelper;
$this->wasTrashbinEnabled = $this->appManager->isEnabledForUser('files_trashbin');
- $this->wasSingleUserModeEnabled = $this->config->getSystemValue('singleUser', false);
- $this->config->setSystemValue('singleUser', true);
+ $this->wasSingleUserModeEnabled = $this->config->getSystemValue('singleuser', false);
+ $this->config->setSystemValue('singleuser', true);
$this->appManager->disableApp('files_trashbin');
}
public function __destruct() {
- $this->config->setSystemValue('singleUser', $this->wasSingleUserModeEnabled);
+ $this->config->setSystemValue('singleuser', $this->wasSingleUserModeEnabled);
if ($this->wasTrashbinEnabled) {
$this->appManager->enableApp('files_trashbin');
}