summaryrefslogtreecommitdiffstats
path: root/apps/lookup_server_connector/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/lookup_server_connector/appinfo/app.php')
-rw-r--r--apps/lookup_server_connector/appinfo/app.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/lookup_server_connector/appinfo/app.php b/apps/lookup_server_connector/appinfo/app.php
index 639eeafcf3f..a98a5de406f 100644
--- a/apps/lookup_server_connector/appinfo/app.php
+++ b/apps/lookup_server_connector/appinfo/app.php
@@ -28,18 +28,20 @@ $dispatcher->addListener('OC\AccountManager::userUpdated', function(\Symfony\Com
\OC::$server->getAppDataDir('identityproof'),
\OC::$server->getCrypto()
);
+
+ $config = \OC::$server->getConfig();
+ $lookupServer = $config->getSystemValue('lookup_server', '');
+
$updateLookupServer = new \OCA\LookupServerConnector\UpdateLookupServer(
new \OC\Accounts\AccountManager(\OC::$server->getDatabaseConnection(), \OC::$server->getEventDispatcher()),
- \OC::$server->getConfig(),
- \OC::$server->getSecureRandom(),
\OC::$server->getHTTPClientService(),
- $keyManager,
new \OC\Security\IdentityProof\Signer(
$keyManager,
new \OC\AppFramework\Utility\TimeFactory(),
\OC::$server->getUserManager()
),
- \OC::$server->getJobList()
+ \OC::$server->getJobList(),
+ $lookupServer
);
$updateLookupServer->userUpdated($user);
});