summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-05-07 12:03:30 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-05-07 12:03:30 +0200
commit234429895485c1003cad7e001e7ba88ec13343f5 (patch)
treeaeba0084f5f0ecd5977bdd6a9a7b79dcbbc0d479 /core/register_command.php
parent12b24ee567349faa7991b0a86d45e42b67daf43e (diff)
parent10144bd7f5b88e4437cb5be4c05c4a3652a80b1c (diff)
downloadnextcloud-server-234429895485c1003cad7e001e7ba88ec13343f5.tar.gz
nextcloud-server-234429895485c1003cad7e001e7ba88ec13343f5.zip
Merge pull request #16035 from owncloud/issue-15975-occ-encryption-enable-warning-no-module
Display a message when there is a problem with the default module
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 5e16abca0c0..801148aa55e 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -51,7 +51,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Background\WebCron(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Background\Ajax(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Encryption\Disable(\OC::$server->getConfig()));
- $application->add(new OC\Core\Command\Encryption\Enable(\OC::$server->getConfig()));
+ $application->add(new OC\Core\Command\Encryption\Enable(\OC::$server->getConfig(), \OC::$server->getEncryptionManager()));
$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()));