Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2016-06-27 13:19:45 +0300
committerGitHub <noreply@github.com>2016-06-27 13:19:45 +0300
commitb14376419d2ca9ba541dfcc1ea7c9fc7a99394cd (patch)
tree22499336edd4c8985c73059f43882d03ac61e79b /core
parent199c8e304c261cd0f32a320c2d8ec6c8ce2a45c6 (diff)
parentf062b62f0396b50436070426ad9d10b853543c3f (diff)
Merge pull request #25263 from owncloud/decryptall-keepencryptionenabledforsingleuser
Keep encryption enabled if decrypting for single user
Diffstat (limited to 'core')
-rw-r--r--core/Command/Encryption/DecryptAll.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Command/Encryption/DecryptAll.php b/core/Command/Encryption/DecryptAll.php
index 83c6c1dc168..cda7853b8b4 100644
--- a/core/Command/Encryption/DecryptAll.php
+++ b/core/Command/Encryption/DecryptAll.php
@@ -150,6 +150,9 @@ class DecryptAll extends Command {
$output->writeln(' aborted.');
$output->writeln('Server side encryption remains enabled');
$this->config->setAppValue('core', 'encryption_enabled', 'yes');
+ } else if ($uid !== '') {
+ $output->writeln('Server side encryption remains enabled');
+ $this->config->setAppValue('core', 'encryption_enabled', 'yes');
}
$this->resetSingleUserAndTrashbin();
} else {