mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +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
1cd56a8199
commit
11db342084
@ -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