Fixed reviews

This commit is contained in:
Sergio Bertolín 2016-06-07 07:55:28 +00:00 committed by Arthur Schiwon
parent 4f27c2c433
commit fad91e92f0
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ class DecryptAll extends Command {
$uid = $input->getArgument('user');
//FIXME WHEN https://github.com/owncloud/core/issues/24994 is fixed
if (empty($uid)) {
if ($uid === null) {
$message = 'your ownCloud';
} else {
$message = "$uid's account";
@ -149,7 +149,7 @@ class DecryptAll extends Command {
$result = $this->decryptAll->decryptAll($input, $output, $user);
if ($result === false) {
$output->writeln(' aborted.');
$output->writeln('Enable server side encryption... ');
$output->writeln('Server side encryption remains enabled');
$this->config->setAppValue('core', 'encryption_enabled', 'yes');
}
$this->resetSingleUserAndTrashbin();