mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
Fix registration of sync command
This commit is contained in:
parent
90d9834c8c
commit
0bf026ccea
1 changed files with 1 additions and 4 deletions
|
|
@ -1,9 +1,6 @@
|
|||
<?php
|
||||
|
||||
$config = \OC::$server->getConfig();
|
||||
$dbConnection = \OC::$server->getDatabaseConnection();
|
||||
$userManager = OC::$server->getUserManager();
|
||||
$config = \OC::$server->getConfig();
|
||||
|
||||
/** @var Symfony\Component\Console\Application $application */
|
||||
$application->add(new \OCA\Federation\Command\SyncFederationAddressBooks($userManager, $dbConnection, $config));
|
||||
$application->add(new \OCA\Federation\Command\SyncFederationAddressBooks($dbConnection));
|
||||
|
|
|
|||
Loading…
Reference in a new issue