summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo/app.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-09-10 15:26:36 +0200
committerLukas Reschke <lukas@owncloud.com>2015-09-10 15:26:36 +0200
commitfb717f254fe81065912c13e0907ba374c8167f98 (patch)
tree1a34b7c8bed92bb5686d73a1521998b2057276cf /apps/files_sharing/appinfo/app.php
parent89cd9295600f6707579240f3f010d4b75a2d85cd (diff)
parent38001d824b142ca9c47f2afafce91ab8b76f1a9a (diff)
downloadnextcloud-server-fb717f254fe81065912c13e0907ba374c8167f98.tar.gz
nextcloud-server-fb717f254fe81065912c13e0907ba374c8167f98.zip
Merge pull request #18699 from owncloud/notification-manager
Notification manager
Diffstat (limited to 'apps/files_sharing/appinfo/app.php')
-rw-r--r--apps/files_sharing/appinfo/app.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index 295d013beff..20f1b046d35 100644
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -103,3 +103,10 @@ if ($config->getAppValue('core', 'shareapi_enabled', 'yes') === 'yes') {
}
}
}
+
+$manager = \OC::$server->getNotificationManager();
+$manager->registerNotifier(function() {
+ return new \OCA\Files_Sharing\Notifier(
+ \OC::$server->getL10NFactory()
+ );
+});