diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-09-01 17:59:01 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-09-08 09:01:01 +0200 |
commit | d191a0daccfa923dcef4ffa9c020fe01f3caf129 (patch) | |
tree | 585e0399cd5f6abb3b57d25ff7a88a19480889a1 /apps/files_sharing/appinfo | |
parent | 57c273b2dae918e1b007c1f1d1cd37ec9f6fb248 (diff) | |
download | nextcloud-server-d191a0daccfa923dcef4ffa9c020fe01f3caf129.tar.gz nextcloud-server-d191a0daccfa923dcef4ffa9c020fe01f3caf129.zip |
Add notifications for remote shares
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/app.php | 7 |
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() + ); +}); |