diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-09-17 08:48:25 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-09-17 08:48:25 +0200 |
commit | 82eb3f8027ba95dd859cde75241921222d970ce1 (patch) | |
tree | 9c6cebb8ad2d106395e0022edd3dc623d1637d80 /core/command | |
parent | 91365a896966cc6571e669f267731c5ca96ca8f0 (diff) | |
download | nextcloud-server-82eb3f8027ba95dd859cde75241921222d970ce1.tar.gz nextcloud-server-82eb3f8027ba95dd859cde75241921222d970ce1.zip |
Fix the singleuser config casing in new encryption code
Diffstat (limited to 'core/command')
-rw-r--r-- | core/command/encryption/decryptall.php | 6 | ||||
-rw-r--r-- | core/command/encryption/encryptall.php | 6 |
2 files changed, 6 insertions, 6 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'); } 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'); } |