mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Calendar - Allow event owner to save alarms for all participants
This commit is contained in:
parent
57bf01b9ff
commit
6a760e193d
@ -1334,6 +1334,9 @@ class calendar_boupdate extends calendar_bo
|
||||
// remove alarms belonging to not longer existing or rejected participants
|
||||
if ($alarm['owner'] && isset($expanded['participants']))
|
||||
{
|
||||
// Don't auto-delete alarm if created by event owner
|
||||
if($alarm['all'] && $alarm['owner'] == $event['owner']) continue;
|
||||
|
||||
$status = $expanded['participants'][$alarm['owner']];
|
||||
if (!isset($status) || calendar_so::split_status($status) === 'R')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user