Improve support of BB Funambol Client

This commit is contained in:
Jörg Lehrke 2010-08-06 18:14:36 +00:00
parent c7bc0fbd82
commit b780c68c3f

View File

@ -885,17 +885,21 @@ class Horde_SyncML_State {
$_type = str_replace('./','',$type);
switch (strtolower($_type)) {
case 'contacts':
case 'contact':
case 'card':
return 'text/vcard';
break;
case 'notes':
case 'note':
return 'text/x-vnote';
break;
case 'calendar':
case 'events':
case 'event':
case 'tasks':
case 'task':
case 'jobs':
case 'caltasks':
return 'text/calendar';
@ -933,17 +937,21 @@ class Horde_SyncML_State {
switch(strtolower($_type))
{
case 'contacts':
case 'contact':
case 'card':
return 'contacts';
case 'notes':
case 'note':
return 'notes';
case 'tasks':
case 'task':
case 'jobs':
return 'tasks';
case 'events':
case 'event':
case 'calendar':
return 'calendar';