forked from extern/egroupware
Addressbook - limit previous / next event to the previous / next 2 years, instead of all time
Gives slightly faster performace and reduces memory useage.
This commit is contained in:
parent
21b1cc8e7e
commit
d92de5501d
@ -1611,6 +1611,8 @@ class Contacts extends Contacts\Storage
|
||||
|
||||
$bocal = new calendar_bo();
|
||||
$events = $bocal->search(array(
|
||||
'start' => strtotime('2 years ago'),
|
||||
'end' => strtotime('2 years from now'),
|
||||
'users' => $uids,
|
||||
'enum_recuring' => true,
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user