diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-17 17:01:24 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-12 14:24:47 +0100 |
commit | 693617d8a5b566454a2d18ff4cb9bcfd8559f3bd (patch) | |
tree | 714dc2f033863c8984469d041c00d6055b2608b3 /apps/federation/appinfo | |
parent | 6d223df2f47a330c1bd61d2483de9bc113616068 (diff) | |
download | nextcloud-server-693617d8a5b566454a2d18ff4cb9bcfd8559f3bd.tar.gz nextcloud-server-693617d8a5b566454a2d18ff4cb9bcfd8559f3bd.zip |
Inject DbHandler ....
Diffstat (limited to 'apps/federation/appinfo')
-rw-r--r-- | apps/federation/appinfo/register_command.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/federation/appinfo/register_command.php b/apps/federation/appinfo/register_command.php index 28829ccfca1..541b01706d0 100644 --- a/apps/federation/appinfo/register_command.php +++ b/apps/federation/appinfo/register_command.php @@ -1,6 +1,8 @@ <?php $dbConnection = \OC::$server->getDatabaseConnection(); +$l10n = \OC::$server->getL10N('federation'); +$dbHandler = new \OCA\Federation\DbHandler($dbConnection, $l10n); /** @var Symfony\Component\Console\Application $application */ -$application->add(new \OCA\Federation\Command\SyncFederationAddressBooks($dbConnection)); +$application->add(new \OCA\Federation\Command\SyncFederationAddressBooks($dbHandler)); |