]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix registration of sync command
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 4 Dec 2015 12:53:53 +0000 (13:53 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 12 Jan 2016 13:24:47 +0000 (14:24 +0100)
apps/federation/appinfo/register_command.php

index 8509a9721ad5ff27de820fd5da90eef0ac031e80..28829ccfca15953d519688c59a47c62b1d74be22 100644 (file)
@@ -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));