diff --git a/calendar/inc/class.calendar_zpush.inc.php b/calendar/inc/class.calendar_zpush.inc.php index ef29cae610..b01541d7e7 100644 --- a/calendar/inc/class.calendar_zpush.inc.php +++ b/calendar/inc/class.calendar_zpush.inc.php @@ -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, diff --git a/mail/inc/class.mail_zpush.inc.php b/mail/inc/class.mail_zpush.inc.php index 9ee92fb1cc..0e26c671ef 100644 --- a/mail/inc/class.mail_zpush.inc.php +++ b/mail/inc/class.mail_zpush.inc.php @@ -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