* Calendar: store async job of alarm with alarm owner as owner to get eg. the correct from address

This commit is contained in:
Ralf Becker 2011-03-21 14:13:42 +00:00
parent f43c3c7c13
commit c0b4f3b4c6

View File

@ -1638,7 +1638,8 @@ ORDER BY cal_user_type, cal_usre_id
}
$alarm['cal_id'] = $cal_id; // we need the back-reference
if (!$this->async->set_timer($alarm['time'],$id,'calendar.calendar_boupdate.send_alarm',$alarm))
// allways store job with the alarm owner as job-owner to get eg. the correct from address
if (!$this->async->set_timer($alarm['time'],$id,'calendar.calendar_boupdate.send_alarm',$alarm,$alarm['owner']))
{
return False;
}