aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/hooks.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-09-01 18:56:09 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-09-08 09:01:01 +0200
commit805f1d0096205d346173ab4c0cf314e1c95eba2f (patch)
tree1803319672878bfeacf3de7f7bbb8acaca37c1ef /apps/files_sharing/lib/hooks.php
parentd191a0daccfa923dcef4ffa9c020fe01f3caf129 (diff)
downloadnextcloud-server-805f1d0096205d346173ab4c0cf314e1c95eba2f.tar.gz
nextcloud-server-805f1d0096205d346173ab4c0cf314e1c95eba2f.zip
Scrap the notifications when the share is accepted or declined
Diffstat (limited to 'apps/files_sharing/lib/hooks.php')
-rw-r--r--apps/files_sharing/lib/hooks.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/hooks.php b/apps/files_sharing/lib/hooks.php
index 7dd04f2f4a0..1937010f390 100644
--- a/apps/files_sharing/lib/hooks.php
+++ b/apps/files_sharing/lib/hooks.php
@@ -33,6 +33,7 @@ class Hooks {
\OC\Files\Filesystem::getMountManager(),
\OC\Files\Filesystem::getLoader(),
\OC::$server->getHTTPHelper(),
+ \OC::$server->getNotificationManager(),
$params['uid']);
$manager->removeUserShares($params['uid']);