mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 08:19:45 +01:00
Changes for Feature Request #452020 - Only send out Acceptance/Rejection/Tentative notifications to the owner of the event.
This commit is contained in:
parent
eb429ea494
commit
cd6db0dfad
@ -1569,7 +1569,15 @@
|
|||||||
|
|
||||||
while(list($userid,$statusid) = each($participants))
|
while(list($userid,$statusid) = each($participants))
|
||||||
{
|
{
|
||||||
if(intval($userid) != $GLOBALS['phpgw_info']['user']['account_id'])
|
if((intval($userid) != $GLOBALS['phpgw_info']['user']['account_id']) &&
|
||||||
|
(
|
||||||
|
(
|
||||||
|
($msg_type == MSG_REJECTED || $msg_type == MSG_TENTATIVE || $msg_type == MSG_ACCEPTED) &&
|
||||||
|
($old_event['owner'] == $userid)
|
||||||
|
) ||
|
||||||
|
($msg_type == MSG_DELETED || $msg_type == MSG_MODIFIED || $msg_type == MSG_ADDED)
|
||||||
|
)
|
||||||
|
)
|
||||||
{
|
{
|
||||||
if($this->debug)
|
if($this->debug)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user