mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 08:53:37 +01:00
* Calendar: store async job of alarm with alarm owner as owner to get eg. the correct from address
This commit is contained in:
parent
d168bec8ef
commit
f83cfe763f
@ -1435,7 +1435,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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user