diff options
Diffstat (limited to 'core/command/encryption/encryptall.php')
-rw-r--r-- | core/command/encryption/encryptall.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/command/encryption/encryptall.php b/core/command/encryption/encryptall.php index 7f33e18ecbb..950ce5166d8 100644 --- a/core/command/encryption/encryptall.php +++ b/core/command/encryption/encryptall.php @@ -68,13 +68,13 @@ class EncryptAll extends Command { $this->config = $config; $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'); } |