summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/api
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-09-16 12:08:21 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-17 11:14:28 +0200
commit6bc93c740194d245bb9a7d1f230ed33461f842a7 (patch)
treed39d0d5e9381469d90899ebb9c82e2a70ca4022c /apps/files_sharing/api
parent9e1cd6d8735010e8b462258668a101abc2ea184b (diff)
downloadnextcloud-server-6bc93c740194d245bb9a7d1f230ed33461f842a7.tar.gz
nextcloud-server-6bc93c740194d245bb9a7d1f230ed33461f842a7.zip
Disable the remote sharing notifications until they work properly
Diffstat (limited to 'apps/files_sharing/api')
-rw-r--r--apps/files_sharing/api/server2server.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_sharing/api/server2server.php b/apps/files_sharing/api/server2server.php
index b3d54b5d0c8..7d8860ad6ff 100644
--- a/apps/files_sharing/api/server2server.php
+++ b/apps/files_sharing/api/server2server.php
@@ -83,6 +83,8 @@ class Server2Server {
Activity::FILES_SHARING_APP, Activity::SUBJECT_REMOTE_SHARE_RECEIVED, array($user, trim($name, '/')), '', array(),
'', '', $shareWith, Activity::TYPE_REMOTE_SHARE, Activity::PRIORITY_LOW);
+ /**
+ * FIXME
$urlGenerator = \OC::$server->getURLGenerator();
$notificationManager = \OC::$server->getNotificationManager();
@@ -104,6 +106,7 @@ class Server2Server {
$notification->addAction($acceptAction);
$notificationManager->notify($notification);
+ */
return new \OC_OCS_Result();
} catch (\Exception $e) {