mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
give bocalupdate alarms a tolerance of 10seconds to make alarms possible that happen directly on the event start time
This commit is contained in:
parent
e5c82ae4db
commit
a7d25f71df
@ -418,8 +418,8 @@ class bocalupdate extends bocal
|
||||
}
|
||||
$version = $GLOBALS['egw_info']['apps']['calendar']['version'];
|
||||
|
||||
// ignore events in the past
|
||||
if($old_event != False && $this->date2ts($old_event['start']) < $this->now_su)
|
||||
// ignore events in the past (give a tolerance of 10 seconds for the script)
|
||||
if($old_event != False && $this->date2ts($old_event['start']) < ($this->now_su - 10))
|
||||
{
|
||||
return False;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user