diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-24 23:53:27 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-02 09:08:27 +0100 |
commit | c91192fb7324c246d3af95ae83ad9ac1ae0a8ec1 (patch) | |
tree | f4ee64fb700814457432a2c7b9abc9746a252033 /apps/dav/appinfo | |
parent | 4f4b91a9ecc265d7501934bb40c1632a30afc7f5 (diff) | |
download | nextcloud-server-c91192fb7324c246d3af95ae83ad9ac1ae0a8ec1.tar.gz nextcloud-server-c91192fb7324c246d3af95ae83ad9ac1ae0a8ec1.zip |
Adding system addressbook for users of this instance - a occ command is supplied for synchronizing
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r-- | apps/dav/appinfo/register_command.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/appinfo/register_command.php b/apps/dav/appinfo/register_command.php index 1f0df054110..af41036cddc 100644 --- a/apps/dav/appinfo/register_command.php +++ b/apps/dav/appinfo/register_command.php @@ -2,7 +2,9 @@ use OCA\DAV\Command\CreateAddressBook; use OCA\DAV\Command\CreateCalendar; +use OCA\DAV\Command\SyncSystemAddressBook; +$config = \OC::$server->getConfig(); $dbConnection = \OC::$server->getDatabaseConnection(); $userManager = OC::$server->getUserManager(); $config = \OC::$server->getConfig(); @@ -10,3 +12,4 @@ $config = \OC::$server->getConfig(); /** @var Symfony\Component\Console\Application $application */ $application->add(new CreateAddressBook($userManager, $dbConnection, $config)); $application->add(new CreateCalendar($userManager, $dbConnection)); +$application->add(new SyncSystemAddressBook($userManager, $dbConnection, $config)); |