Backport 31138: Do not send notification when a deleted event is purged

This commit is contained in:
Nathan Gray 2010-06-28 11:17:00 +00:00
parent dab86e0dfd
commit c9c422ad83

View File

@ -1210,7 +1210,12 @@ class calendar_boupdate extends calendar_bo
{
return false;
}
$this->send_update(MSG_DELETED,$event['participants'],$event);
// Don't send notification if the event has already been deleted
if(!$event['deleted'])
{
$this->send_update(MSG_DELETED,$event['participants'],$event);
}
if (!$recur_date || $event['recur_type'] == MCAL_RECUR_NONE)
{