diff options
-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)); |