11 lines
386 B
PHP
11 lines
386 B
PHP
<?php
|
|
|
|
use OCA\DAV\Command\CreateAddressBook;
|
|
use OCA\DAV\Command\CreateCalendar;
|
|
|
|
$dbConnection = \OC::$server->getDatabaseConnection();
|
|
$userManager = OC::$server->getUserManager();
|
|
/** @var Symfony\Component\Console\Application $application */
|
|
$application->add(new CreateAddressBook($userManager, $dbConnection));
|
|
$application->add(new CreateCalendar($userManager, $dbConnection));
|