summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio BertolĂ­n <sbertolin@solidgear.es>2016-06-07 07:55:28 +0000
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-06-09 14:00:00 +0200
commitfad91e92f040fc5ab7282c1f2fd5b6a4af49328a (patch)
tree395d8e544aab018e87d8df9209dd78d0d619f382
parent4f27c2c43341e8798669a72a7da36a33e873490a (diff)
downloadnextcloud-server-fad91e92f040fc5ab7282c1f2fd5b6a4af49328a.tar.gz
nextcloud-server-fad91e92f040fc5ab7282c1f2fd5b6a4af49328a.zip
Fixed reviews
-rw-r--r--core/Command/Encryption/DecryptAll.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/Encryption/DecryptAll.php b/core/Command/Encryption/DecryptAll.php
index f9e4fba7133..d060918a506 100644
--- a/core/Command/Encryption/DecryptAll.php
+++ b/core/Command/Encryption/DecryptAll.php
@@ -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();