aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federation/appinfo
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-04 13:53:53 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-12 14:24:47 +0100
commit0bf026cceab5f5e910f5e7c163397dbe76dbe0f2 (patch)
tree2b4e1462d1750cdf07909b95f51ac415e433e969 /apps/federation/appinfo
parent90d9834c8c0d3ae10cc754595d729821584e76a9 (diff)
downloadnextcloud-server-0bf026cceab5f5e910f5e7c163397dbe76dbe0f2.tar.gz
nextcloud-server-0bf026cceab5f5e910f5e7c163397dbe76dbe0f2.zip
Fix registration of sync command
Diffstat (limited to 'apps/federation/appinfo')
-rw-r--r--apps/federation/appinfo/register_command.php5
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));