Commit 5e2a9dac authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #25263 from owncloud/decryptall-keepencryptionenabledforsingleuser

Keep encryption enabled if decrypting for single user
parents 6e0c40ff 19a53982
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment