mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
patch #2953: limit calculation of exceptions in recuring event to horizont
This commit is contained in:
parent
9e141e72e0
commit
4e13824fc5
@ -705,7 +705,8 @@ class calendar_bo
|
|||||||
$events = array();
|
$events = array();
|
||||||
$this->insert_all_recurrences($event,$start,$this->date2usertime($this->config['horizont']),$events);
|
$this->insert_all_recurrences($event,$start,$this->date2usertime($this->config['horizont']),$events);
|
||||||
|
|
||||||
$days = $this->so->get_recurrence_exceptions($event); // content of array is in server-time!
|
$limit = min($this->config['horizont'], $event['end']);
|
||||||
|
$days = $this->so->get_recurrence_exceptions($event, null, $start, $limit); // content of array is in server-time!
|
||||||
//error_log('set_recurrences: days=' . array2string($days) );
|
//error_log('set_recurrences: days=' . array2string($days) );
|
||||||
foreach($events as $event)
|
foreach($events as $event)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user