mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 06:19:09 +01:00
Calendar - Allow to save alarms for all participants
This commit is contained in:
parent
a1428d9f21
commit
9780858276
@ -79,7 +79,7 @@ class calendar_boupdate extends calendar_bo
|
|||||||
* @var array id => data
|
* @var array id => data
|
||||||
*/
|
*/
|
||||||
protected static $tz_cache = array();
|
protected static $tz_cache = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*/
|
*/
|
||||||
@ -1334,6 +1334,9 @@ class calendar_boupdate extends calendar_bo
|
|||||||
// remove alarms belonging to not longer existing or rejected participants
|
// remove alarms belonging to not longer existing or rejected participants
|
||||||
if ($alarm['owner'] && isset($expanded['participants']))
|
if ($alarm['owner'] && isset($expanded['participants']))
|
||||||
{
|
{
|
||||||
|
// Don't auto-delete alarm if for all users
|
||||||
|
if($alarm['all']) continue;
|
||||||
|
|
||||||
$status = $expanded['participants'][$alarm['owner']];
|
$status = $expanded['participants'][$alarm['owner']];
|
||||||
if (!isset($status) || calendar_so::split_status($status) === 'R')
|
if (!isset($status) || calendar_so::split_status($status) === 'R')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user