mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:18:57 +01:00
* eSync/Mail/Calendar: limit request for all mail and events to 1 year back, instead of previous 178 or 100 days
This commit is contained in:
parent
8b250157eb
commit
ebb213ddbb
@ -187,7 +187,7 @@ class calendar_zpush implements activesync_plugin_write, activesync_plugin_meeti
|
||||
$type = $user = null;
|
||||
$this->backend->splitID($id,$type,$user);
|
||||
|
||||
if (!$cutoffdate) $cutoffdate = time() - 100*24*3600; // default three month back -30 breaks all sync recurrences
|
||||
if (!$cutoffdate) $cutoffdate = time() - 365*24*3600; // limit all to 1 year (-30 breaks all sync recurrences)
|
||||
|
||||
$filter = array(
|
||||
'users' => $user,
|
||||
|
@ -68,7 +68,7 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
|
||||
static $profileID;
|
||||
|
||||
// to control how deep one may dive into the past
|
||||
const PAST_LIMIT = 178;
|
||||
const PAST_LIMIT = 365;
|
||||
|
||||
/**
|
||||
* debugLevel - enables more debug
|
||||
|
Loading…
Reference in New Issue
Block a user