diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-16 17:41:32 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-04-27 11:03:50 +0200 |
commit | f6d4bdb1fd936741252802b8e0bc79a7bd4c3905 (patch) | |
tree | f53b41049c36b3e05ce9e14eda2a1ce8369516bc /core/register_command.php | |
parent | a09df6d4538d1fb62992fb8a84219bf9a42c6257 (diff) | |
download | nextcloud-server-f6d4bdb1fd936741252802b8e0bc79a7bd4c3905.tar.gz nextcloud-server-f6d4bdb1fd936741252802b8e0bc79a7bd4c3905.zip |
Add occ commands to manage the encryption modules
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php index 75c0245a924..b9c722860c1 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -50,6 +50,10 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $application->add(new OC\Core\Command\Background\Cron(\OC::$server->getConfig())); $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\ListModules(\OC::$server->getEncryptionManager())); + $application->add(new OC\Core\Command\Encryption\SetDefaultModule(\OC::$server->getEncryptionManager())); } else { $application->add(new OC\Core\Command\Maintenance\Install(\OC::$server->getConfig())); } |