Update the occ:encrypt-all prompt

The message isn't as clear, nor as succinct, as it could be.
Given that, this commit seeks to address both those points.
This commit was prompted by https://github.com/owncloud/documentation/pull/2835.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Matthew Setter 2017-02-24 12:36:27 +01:00 committed by Morris Jobke
parent 528a903a7b
commit d4058b73c2
No known key found for this signature in database
GPG key ID: 9CE5ED29E7FCD38A

View file

@ -109,10 +109,10 @@ class EncryptAll extends Command {
} }
$output->writeln("\n"); $output->writeln("\n");
$output->writeln('You are about to start to encrypt all files stored in your ownCloud.'); $output->writeln('You are about to encrypt all files stored in your ownCloud installation.');
$output->writeln('It will depend on the encryption module you use which files get encrypted.'); $output->writeln('Depending on the number of available files, and their size, this may take quite some time.');
$output->writeln('Depending on the number and size of your files this can take some time'); $output->writeln('Please ensure that no user accesses their files during this time!');
$output->writeln('Please make sure that no user access his files during this process!'); $output->writeln('Note: The encryption module you use determines which files get encrypted.');
$output->writeln(''); $output->writeln('');
$question = new ConfirmationQuestion('Do you really want to continue? (y/n) ', false); $question = new ConfirmationQuestion('Do you really want to continue? (y/n) ', false);
if ($this->questionHelper->ask($input, $output, $question)) { if ($this->questionHelper->ask($input, $output, $question)) {