summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2015-08-28 20:44:55 +0200
committerBjörn Schießle <bjoern@schiessle.org>2015-08-28 20:44:55 +0200
commit6e210d960c23c3ab9bb28ba6b1fa3a77c8b951c8 (patch)
tree420049bcc149225465c4eabe03c09fb6d382bf35 /core/register_command.php
parentdc04b618bcd9ed795a81b7a88bc2a97725c629a8 (diff)
parente51fe617d89fd515e9e6836f205f67c613939b41 (diff)
downloadnextcloud-server-6e210d960c23c3ab9bb28ba6b1fa3a77c8b951c8.tar.gz
nextcloud-server-6e210d960c23c3ab9bb28ba6b1fa3a77c8b951c8.zip
Merge pull request #18423 from owncloud/occ_encrypt_all
occ command line tool to encrypt all files
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 9c13c0967f8..984e1b97f67 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -57,6 +57,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Encryption\ListModules(\OC::$server->getEncryptionManager()));
$application->add(new OC\Core\Command\Encryption\SetDefaultModule(\OC::$server->getEncryptionManager()));
$application->add(new OC\Core\Command\Encryption\Status(\OC::$server->getEncryptionManager()));
+ $application->add(new OC\Core\Command\Encryption\EncryptAll(\OC::$server->getEncryptionManager(), \OC::$server->getAppManager(), \OC::$server->getConfig(), new \Symfony\Component\Console\Helper\QuestionHelper()));
$application->add(new OC\Core\Command\Log\Manage(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Log\OwnCloud(\OC::$server->getConfig()));