phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.37


From: nomail
Subject: [Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.37
Date: Fri, 14 May 2004 20:34:34 +0200

Update of /sync/inc
Modified Files:
        Branch: 
          class.bo_sync.inc.php

date: 2004/05/14 18:34:34;  author: mkaemmerer;  state: Exp;  lines: +4 -3

Log Message:
- added temporary hack for Sycn4j for ppc
=====================================================================
Index: sync/inc/class.bo_sync.inc.php
diff -u sync/inc/class.bo_sync.inc.php:1.36 sync/inc/class.bo_sync.inc.php:1.37
--- sync/inc/class.bo_sync.inc.php:1.36 Thu May 13 16:57:10 2004
+++ sync/inc/class.bo_sync.inc.php      Fri May 14 18:34:34 2004
@@ -210,11 +210,12 @@
        // temporary work around for palm vcard problem: palm uses vcard 3.0, 
others 2.1 (Weblicon Client)
        // will be replaced by mime version handling from device information 
later
         // Synthesis uses also 3.0 for PocketPC
+        // sync4j for ppc uses 17 chars length URI and 3.0
         $devinfo = $this->so->GetDeviceInfo($deviceid);
         if ((strpos($devinfo['uri'], "Palm") > 0) || (strpos($devinfo['uri'], 
"ebliconSync_") > 0) 
-          || (strlen($devinfo['uri']) == 20))
+          || (strlen($devinfo['uri']) == 20) ||(strlen($devinfo['uri']) == 17))
         { 
-         error_log('Temporary fix: Detected Palm or Synthesis Client, using 
MIME Version 3.0');
+         error_log('Temporary fix: Detected Palm, Sync4j or Synthesis Client, 
using MIME Version 3.0');
           $data = $this->ipc->getData($GUID, $mimetype, '3.0');
         }
        else




reply via email to

[Prev in Thread] Current Thread [Next in Thread]