summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-06-09 14:49:53 +0200
committerJoas Schilling <coding@schilljs.com>2016-07-13 18:43:36 +0200
commitb96f0c99b0cf20b6997e1019c624c1848c006434 (patch)
tree3109aa7cbf7709ca8e1ba22c5a7516eec3de31aa /core/register_command.php
parentc04e7b13c342ee9c1d57cf117f6bb14a157d6b4e (diff)
downloadnextcloud-server-b96f0c99b0cf20b6997e1019c624c1848c006434.tar.gz
nextcloud-server-b96f0c99b0cf20b6997e1019c624c1848c006434.zip
Add a occ command to list/get user preferences
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 ebb6ce8b723..91b00df20f1 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -136,6 +136,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\User\LastSeen(\OC::$server->getUserManager()));
$application->add(new OC\Core\Command\User\Report(\OC::$server->getUserManager()));
$application->add(new OC\Core\Command\User\ResetPassword(\OC::$server->getUserManager()));
+ $application->add(new OC\Core\Command\User\Setting(\OC::$server->getUserManager(), \OC::$server->getConfig(), \OC::$server->getDatabaseConnection()));
$application->add(new OC\Core\Command\Security\ListCertificates(\OC::$server->getCertificateManager(null), \OC::$server->getL10N('core')));
$application->add(new OC\Core\Command\Security\ImportCertificate(\OC::$server->getCertificateManager(null)));