mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02: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'];
|
$version = $GLOBALS['egw_info']['apps']['calendar']['version'];
|
||||||
|
|
||||||
// ignore events in the past
|
// 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)
|
if($old_event != False && $this->date2ts($old_event['start']) < ($this->now_su - 10))
|
||||||
{
|
{
|
||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user