mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
Funambol Client 4 Android uses version 2 and is pretty new
This commit is contained in:
parent
89a81249cc
commit
bfa071c319
@ -108,7 +108,7 @@ class Horde_SyncML_SyncMLHdr extends Horde_SyncML_ContentHandler {
|
||||
|
||||
/**
|
||||
* Defined in SyncML Representation Protocol, version 1.1. Must
|
||||
* be 1.0 (0) or 1.1 (1).
|
||||
* be 1.0 (0), 1.1 (1) or 1.2(2).
|
||||
*
|
||||
* @var string $_version
|
||||
*/
|
||||
@ -150,7 +150,7 @@ class Horde_SyncML_SyncMLHdr extends Horde_SyncML_ContentHandler {
|
||||
{
|
||||
// Remove any existing session since we'll be contructing a
|
||||
// custom session id.
|
||||
session_regenerate_id();
|
||||
//session_regenerate_id();
|
||||
session_destroy();
|
||||
|
||||
// we need to (re-)load the eGW session-handler, as session_destroy unloads custom session-handlers
|
||||
@ -667,8 +667,8 @@ class Horde_SyncML_SyncMLBody extends Horde_SyncML_ContentHandler {
|
||||
// e.g. Mozilla plugin uses this range
|
||||
$swversion = $swversion * 10;
|
||||
}
|
||||
if($swversion < 7.0) {
|
||||
// We wait for a ALERT_NEXT_MESSAGE from Funambol clients
|
||||
if (3.0 < $swversion && $swversion < 7.0) {
|
||||
// We wait for a ALERT_NEXT_MESSAGE from Funambol old clients
|
||||
Horde::logMessage('SyncML['. session_id()
|
||||
. "]: Special treatment for Funambol version $swversion activated",
|
||||
__FILE__, __LINE__, PEAR_LOG_DEBUG);
|
||||
|
Loading…
Reference in New Issue
Block a user