summaryrefslogtreecommitdiff
path: root/lib/kolab_sync_data_email.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-01-02 13:46:26 (GMT)
committerAleksander Machniak <alec@alec.pl>2014-01-02 13:46:26 (GMT)
commitb9ea63667d9ad23fe207c91bca76f2b839235d8b (patch)
treea6fc25783427e845ee3709f5f2d5c5f51492a6a6 /lib/kolab_sync_data_email.php
parentafc041f7d619d0118bb6b9cdd54f02b53ecc3c35 (diff)
downloadkolab-syncroton-b9ea63667d9ad23fe207c91bca76f2b839235d8b.tar.gz
Fix a bug where all mail messages were synchronized if device specified FilterType=3 (Bug #2720)
Diffstat (limited to 'lib/kolab_sync_data_email.php')
-rw-r--r--lib/kolab_sync_data_email.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/kolab_sync_data_email.php b/lib/kolab_sync_data_email.php
index 1322f44..2c19501 100644
--- a/lib/kolab_sync_data_email.php
+++ b/lib/kolab_sync_data_email.php
@@ -391,6 +391,9 @@ class kolab_sync_data_email extends kolab_sync_data implements Syncroton_Data_ID
case Syncroton_Command_Sync::FILTER_3_DAYS_BACK:
$mod = '-3 days';
break;
+ case Syncroton_Command_Sync::FILTER_1_WEEK_BACK:
+ $mod = '-1 week';
+ break;
case Syncroton_Command_Sync::FILTER_2_WEEKS_BACK:
$mod = '-2 weeks';
break;