diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-04 15:53:53 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-12 16:24:47 +0300 |
commit | 0bf026cceab5f5e910f5e7c163397dbe76dbe0f2 (patch) | |
tree | 2b4e1462d1750cdf07909b95f51ac415e433e969 /apps/federation/appinfo | |
parent | 90d9834c8c0d3ae10cc754595d729821584e76a9 (diff) |
Fix registration of sync command
Diffstat (limited to 'apps/federation/appinfo')
-rw-r--r-- | apps/federation/appinfo/register_command.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/federation/appinfo/register_command.php b/apps/federation/appinfo/register_command.php index 8509a9721ad..28829ccfca1 100644 --- a/apps/federation/appinfo/register_command.php +++ b/apps/federation/appinfo/register_command.php @@ -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)); |