mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
"other docu update and removed an unnecessary (doublicate) condition"
This commit is contained in:
parent
f5015cf6e8
commit
b587bab7d1
@ -100,7 +100,7 @@ class calendar_boupdate extends calendar_bo
|
||||
// if no owner given, set user to owner
|
||||
if (!$event['owner']) $event['owner'] = $this->user;
|
||||
// set owner as participant if none is given
|
||||
if (!$event['id'] && (!is_array($event['participants']) || !count($event['participants'])))
|
||||
if (!is_array($event['participants']) || !count($event['participants']))
|
||||
{
|
||||
$event['participants'][$event['owner']] = 'U';
|
||||
}
|
||||
@ -285,7 +285,7 @@ class calendar_boupdate extends calendar_bo
|
||||
}
|
||||
|
||||
/**
|
||||
* Check for added, modified or deleted participants
|
||||
* Check for added, modified or deleted participants AND notify them
|
||||
*
|
||||
* @param array $new_event the updated event
|
||||
* @param array $old_event the event before the update
|
||||
|
Loading…
Reference in New Issue
Block a user