Newer Nokia E-Series SyncML supported fields default

This commit is contained in:
Jörg Lehrke 2010-06-07 12:50:17 +00:00
parent e13391dac8
commit 82455c87a6

View File

@ -1995,8 +1995,17 @@ class calendar_ical extends calendar_boupdate
$this->supportedFields = $defaultFields['s60']; $this->supportedFields = $defaultFields['s60'];
break; break;
default: default:
error_log("Unknown Nokia phone '$_productName', assuming E61"); if ($this->productName[0] == 'e')
$this->supportedFields = $defaultFields['minimal']; {
$model = 'E90';
$this->supportedFields = $defaultFields['s60'];
}
else
{
$model = 'E61';
$this->supportedFields = $defaultFields['minimal'];
}
error_log("Unknown Nokia phone '$_productName', assuming same as '$model'");
break; break;
} }
break; break;