Don't use MaxGUIDSize as maximum UID length

This commit is contained in:
Jörg Lehrke 2010-10-04 17:27:09 +00:00
parent 7ae20bcf12
commit 12cb6439ba

View File

@ -1005,11 +1005,13 @@ class Horde_SyncML_State {
$cvers = $deviceInfo['dataStore'][$_sourceLocURI]['rxPreference']['contentVersion'];
$cfrmt = $deviceInfo['dataStore'][$_sourceLocURI]['rxPreference']['contentFormat'];
$cprops = $deviceInfo['dataStore'][$_sourceLocURI]['properties'][$ctype][$cvers];
$cprops['UID']['NoTruncate'] = true;
/*
if (isset($deviceInfo['dataStore'][$_sourceLocURI]['maxGUIDSize'])) {
// get UID properties from maxGUIDSize
$cprops['UID']['Size'] = $deviceInfo['dataStore'][$_sourceLocURI]['maxGUIDSize'];
$cprops['UID']['NoTruncate'] = true;
}
*/
$clientPrefs = array(
'ContentType' => $ctype,
'ContentVersion' => $cvers,