diff options
author | davitol <dtoledo@solidgear.es> | 2016-06-06 16:10:49 +0200 |
---|---|---|
committer | davitol <dtoledo@solidgear.es> | 2016-06-06 16:10:49 +0200 |
commit | f9b386509384c3d8c0c355d45c2c4f7a56c846ef (patch) | |
tree | 3fcf30d1b052199f2ecc3d27f2956eee3e742e6e /core/Command | |
parent | eaeb5d606dee28f647f2f2b34ec49c9cb6c091ec (diff) | |
download | nextcloud-server-f9b386509384c3d8c0c355d45c2c4f7a56c846ef.tar.gz nextcloud-server-f9b386509384c3d8c0c355d45c2c4f7a56c846ef.zip |
Comments fixed
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/Encryption/DecryptAll.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/Command/Encryption/DecryptAll.php b/core/Command/Encryption/DecryptAll.php index 26dbe79b5cc..e9cae29e825 100644 --- a/core/Command/Encryption/DecryptAll.php +++ b/core/Command/Encryption/DecryptAll.php @@ -118,8 +118,6 @@ class DecryptAll extends Command { protected function execute(InputInterface $input, OutputInterface $output) { try { - - if ($this->encryptionManager->isEnabled() === true) { $output->write('Disable server side encryption... '); $this->config->setAppValue('core', 'encryption_enabled', 'no'); @@ -130,6 +128,7 @@ class DecryptAll extends Command { } $uid = $input->getArgument('user'); + //FIXME WHEN https://github.com/owncloud/core/issues/24994 is fixed if (empty($uid)) { $message = 'your ownCloud'; } else { @@ -149,7 +148,7 @@ class DecryptAll extends Command { $result = $this->decryptAll->decryptAll($input, $output, $user); if ($result === false) { $output->writeln(' aborted.'); - $output->write('Enable server side encryption... '); + $output->writeln('Enable server side encryption... '); $this->config->setAppValue('core', 'encryption_enabled', 'yes'); } $this->resetSingleUserAndTrashbin(); |