From 4c6c22c4e3c5dd6dbb524548ce8b1e97fc7bcc7f Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Wed, 13 Aug 2014 17:02:51 +0200 Subject: we need the recipient as a additional parameter to know for which share the notification was send --- lib/public/share.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/public') 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); } /** -- cgit v1.2.3