summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-05-04 15:31:19 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-05-04 15:31:19 +0200
commit5180c2398d260bda5a57a947833f2595d097df03 (patch)
treedbe7dc29092b0f93710207ab23e86e0b67926ed8 /core/register_command.php
parent59c657da5354d646cd69b58f9860b991f5b627b6 (diff)
downloadnextcloud-server-5180c2398d260bda5a57a947833f2595d097df03.tar.gz
nextcloud-server-5180c2398d260bda5a57a947833f2595d097df03.zip
Add an occ command to get the status of encryption
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 b9c722860c1..5e16abca0c0 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -54,6 +54,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Encryption\Enable(\OC::$server->getConfig()));
$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()));
} else {
$application->add(new OC\Core\Command\Maintenance\Install(\OC::$server->getConfig()));
}