diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-05-04 12:36:50 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-05-04 12:36:50 +0200 |
commit | 10144bd7f5b88e4437cb5be4c05c4a3652a80b1c (patch) | |
tree | 47c155b1ba21a3f1ecb5dbf2b20c1c5496dd6995 /core/register_command.php | |
parent | 17fedc80dac7acd3d85f1f132455e94d4fd920c6 (diff) | |
download | nextcloud-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.php | 2 |
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 { |