mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-21 05:19:07 +01:00
handle existing alarms in 17.1 like new ones with "keep" attribute set
This commit is contained in:
parent
560754fdd4
commit
65a699e134
@ -482,7 +482,7 @@ class Asyncservice
|
||||
// update job before running it, to cope with jobs taking longer then async-frequency
|
||||
if (($job['next'] = $this->next_run($job['times'])) ||
|
||||
// keep jobs with keep set (eg. calendar alarms) around
|
||||
is_array($job['data']) && !empty($job['data']['keep']))
|
||||
is_array($job['data']) && (!empty($job['data']['keep']) || substr($job['id'], 0, 4) === 'cal:'))
|
||||
{
|
||||
if (!$job['next'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user