summaryrefslogtreecommitdiffstats
path: root/lib/public/share.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-08-13 17:02:51 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-08-13 17:02:51 +0200
commitd9f35d8c151801c243efd1353457f74aba75d38a (patch)
treece383786d704ec6e6d40471be98f77c5784d8536 /lib/public/share.php
parentf282a5cff00d2e7ecbfaa0d93d7ab0bf30921701 (diff)
downloadnextcloud-server-d9f35d8c151801c243efd1353457f74aba75d38a.tar.gz
nextcloud-server-d9f35d8c151801c243efd1353457f74aba75d38a.zip
we need the recipient as a additional parameter to know for which share the notification was send
Diffstat (limited to 'lib/public/share.php')
-rw-r--r--lib/public/share.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/share.php b/lib/public/share.php
index e6519dd3e3a..bb9c6ec5886 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -274,10 +274,11 @@ class Share extends \OC\Share\Constants {
* @param string $itemType
* @param string $itemSource
* @param int $shareType SHARE_TYPE_USER, SHARE_TYPE_GROUP, or SHARE_TYPE_LINK
+ * @param string $recipient with whom was the item shared
* @param bool $status
*/
- public static function setSendMailStatus($itemType, $itemSource, $shareType, $status) {
- return \OC\Share\Share::setSendMailStatus($itemType, $itemSource, $shareType, $status);
+ public static function setSendMailStatus($itemType, $itemSource, $shareType, $recipient, $status) {
+ return \OC\Share\Share::setSendMailStatus($itemType, $itemSource, $shareType, $recipient, $status);
}
/**