diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-07 17:28:06 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-12 16:24:47 +0300 |
commit | 1a20af253bc90de35a1bf3b65adb33ab44d17c1d (patch) | |
tree | 77a6f2181318cdffb85f97cdbcbf75bf40e3aa35 /apps/federation/appinfo | |
parent | 0bf026cceab5f5e910f5e7c163397dbe76dbe0f2 (diff) |
Adding tests and adjust PHPDoc
Diffstat (limited to 'apps/federation/appinfo')
-rw-r--r-- | apps/federation/appinfo/application.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/federation/appinfo/application.php b/apps/federation/appinfo/application.php index f0fefb948af..0214d73d900 100644 --- a/apps/federation/appinfo/application.php +++ b/apps/federation/appinfo/application.php @@ -153,8 +153,10 @@ class Application extends \OCP\AppFramework\App { if ($event instanceof SabrePluginEvent) { $authPlugin = $event->getServer()->getPlugin('auth'); if ($authPlugin instanceof Plugin) { - $db = $container->getServer()->getDatabaseConnection(); - $authPlugin->addBackend(new FedAuth($db)); + $h = new DbHandler($container->getServer()->getDatabaseConnection(), + $container->getServer()->getL10N('federation') + ); + $authPlugin->addBackend(new FedAuth($h)); } } }); |