[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.28
From: |
nomail |
Subject: |
[Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.28 |
Date: |
Fri, 21 May 2004 19:56:12 -0000 |
Update of /sync/inc
Modified Files:
Branch:
class.bo_sync.inc.php
date: 2004/04/26 13:10:57; author: mkaemmerer; state: Exp; lines: +8 -5
Log Message:
- added error log for temporary mime version fix
=====================================================================
Index: sync/inc/class.bo_sync.inc.php
diff -u sync/inc/class.bo_sync.inc.php:1.27 sync/inc/class.bo_sync.inc.php:1.28
--- sync/inc/class.bo_sync.inc.php:1.27 Sun Apr 18 13:05:22 2004
+++ sync/inc/class.bo_sync.inc.php Mon Apr 26 13:10:57 2004
@@ -194,10 +194,13 @@
// 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
- $devinfo = $this->so->GetDeviceInfo($deviceid);
- if ((strpos($devinfo['uri'], "Palm") > 0) || (strpos($devinfo['uri'],
"ebliconSync_") > 0)
- || strlen($devinfo['uri'] == 20))
- $data = $this->ipc->getData($GUID, $mimetype, '3.0');
+ $devinfo = $this->so->GetDeviceInfo($device_id);
+ if ((strpos($devinfo['uri'], "Palm") > 0) || (strpos($devinfo['uri'],
"ebliconSync_") > 0)
+ || (strlen($devinfo['uri']) == 20))
+ {
+ error_log('Temporary fix: Detected Palm or Synthesis Client, using
MIME Version 3.0');
+ $data = $this->ipc->getData($GUID, $mimetype, '3.0');
+ }
else
$data = $this->ipc->getData($GUID, $mimetype);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] sync/inc/class.bo_sync.inc.php, 1.28,
nomail <=