From b780c68c3f2329deb8d1dd6a998ae0a51ff72136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Fri, 6 Aug 2010 18:14:36 +0000 Subject: [PATCH] Improve support of BB Funambol Client --- phpgwapi/inc/horde/Horde/SyncML/State.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/phpgwapi/inc/horde/Horde/SyncML/State.php b/phpgwapi/inc/horde/Horde/SyncML/State.php index 735830b9fa..865265d37e 100644 --- a/phpgwapi/inc/horde/Horde/SyncML/State.php +++ b/phpgwapi/inc/horde/Horde/SyncML/State.php @@ -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';