lib/kolab_sync_data.php

Aleksander Machniak machniak at kolabsys.com
Wed Aug 29 10:19:51 CEST 2012


 lib/kolab_sync_data.php |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 123f9895a5ef31d255e624422f4514dfe85fb491
Author: Aleksander Machniak <alec at alec.pl>
Date:   Wed Aug 29 10:19:07 2012 +0200

    Don't use AirSyncBase:Body element on old devices (protocol version < 12)

diff --git a/lib/kolab_sync_data.php b/lib/kolab_sync_data.php
index 53b512a..9fa190d 100644
--- a/lib/kolab_sync_data.php
+++ b/lib/kolab_sync_data.php
@@ -888,6 +888,11 @@ abstract class kolab_sync_data implements Syncroton_Data_IData
             return;
         }
 
+        // Old protocol version doesn't support AirSyncBase:Body, it's eg. WindowsCE
+        if ($this->asversion < 12) {
+            return;
+        }
+
         if (!empty($value)) {
             $params['data'] = $value;
         }





More information about the commits mailing list