summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federatedfilesharing/appinfo/app.php')
-rw-r--r--apps/federatedfilesharing/appinfo/app.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/federatedfilesharing/appinfo/app.php b/apps/federatedfilesharing/appinfo/app.php
index 7f4e4601977..4a5492b0f15 100644
--- a/apps/federatedfilesharing/appinfo/app.php
+++ b/apps/federatedfilesharing/appinfo/app.php
@@ -31,10 +31,7 @@ $app->registerSettings();
$manager = \OC::$server->getNotificationManager();
$manager->registerNotifier(function() {
- return new Notifier(
- \OC::$server->getL10NFactory(),
- \OC::$server->getContactsManager()
- );
+ return \OC::$server->query(Notifier::class);
}, function() use ($l) {
return [
'id' => 'files_sharing',