summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-05-04 12:36:50 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-05-04 12:36:50 +0200
commit10144bd7f5b88e4437cb5be4c05c4a3652a80b1c (patch)
tree47c155b1ba21a3f1ecb5dbf2b20c1c5496dd6995 /core/register_command.php
parent17fedc80dac7acd3d85f1f132455e94d4fd920c6 (diff)
downloadnextcloud-server-10144bd7f5b88e4437cb5be4c05c4a3652a80b1c.tar.gz
nextcloud-server-10144bd7f5b88e4437cb5be4c05c4a3652a80b1c.zip
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 b9c722860c1..8d18b04bb32 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()));
} else {