diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-14 14:46:51 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-14 14:46:51 +0100 |
commit | 01a6656c370431c09a9dd70b973ef6e2502e052c (patch) | |
tree | b3edab349f15b714729a75a61f3354d3618fe90d /apps/dav/appinfo/register_command.php | |
parent | 052583bcb6a031d510af5399acf4591dc3d3e4f8 (diff) | |
download | nextcloud-server-01a6656c370431c09a9dd70b973ef6e2502e052c.tar.gz nextcloud-server-01a6656c370431c09a9dd70b973ef6e2502e052c.zip |
Fix ctor
Diffstat (limited to 'apps/dav/appinfo/register_command.php')
-rw-r--r-- | apps/dav/appinfo/register_command.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/dav/appinfo/register_command.php b/apps/dav/appinfo/register_command.php index 10f68768751..3152712b7c0 100644 --- a/apps/dav/appinfo/register_command.php +++ b/apps/dav/appinfo/register_command.php @@ -19,6 +19,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/> * */ +use OCA\Dav\AppInfo\Application; use OCA\DAV\Command\CreateAddressBook; use OCA\DAV\Command\CreateCalendar; use OCA\DAV\Command\SyncSystemAddressBook; @@ -29,7 +30,9 @@ $userManager = OC::$server->getUserManager(); $config = \OC::$server->getConfig(); $logger = \OC::$server->getLogger(); +$app = new Application(); + /** @var Symfony\Component\Console\Application $application */ $application->add(new CreateAddressBook($userManager, $dbConnection, $config, $logger)); $application->add(new CreateCalendar($userManager, $dbConnection)); -$application->add(new SyncSystemAddressBook($userManager, $dbConnection, $config)); +$application->add(new SyncSystemAddressBook($app->getSyncService())); |