mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Calendar - Only send update notifications if the event is in the future
This commit is contained in:
parent
5924b30f2b
commit
99a223a5ad
@ -268,8 +268,8 @@ class calendar_boupdate extends calendar_bo
|
|||||||
{
|
{
|
||||||
$this->log2file($event2save,$event,$old_event);
|
$this->log2file($event2save,$event,$old_event);
|
||||||
}
|
}
|
||||||
// send notifications
|
// send notifications if the event is in the future
|
||||||
if(!$skip_notification)
|
if(!$skip_notification && $event['end'] > time())
|
||||||
{
|
{
|
||||||
if ($new_event)
|
if ($new_event)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user