mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 14:30:05 +01:00
* Calendar - Only send update notifications if the event is in the future
This commit is contained in:
parent
83ce88d91b
commit
db0ae59fa4
@ -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