diff --git a/phpgwapi/inc/horde/Horde/SyncML/State.php b/phpgwapi/inc/horde/Horde/SyncML/State.php index 4921e16393..9f5c097320 100644 --- a/phpgwapi/inc/horde/Horde/SyncML/State.php +++ b/phpgwapi/inc/horde/Horde/SyncML/State.php @@ -630,20 +630,16 @@ class Horde_SyncML_State { */ function getPreferedContentType($type) { -# if ($type == 'contacts') { -# return 'text/x-vcard'; -# } elseif ($type == 'notes') { -# return 'text/x-vnote'; -# } elseif ($type == 'tasks') { -# return 'text/x-vcalendar'; -# } elseif ($type == 'calendar') { -# return 'text/x-vcalendar'; -# } switch($type) { case 'contacts': return 'text/x-vcard'; break; + case 'sifcalendar': + case './sifcalendar': + return 'text/x-s4j-sife'; + break; + case 'sifcontacts': case './sifcontacts': return 'text/x-s4j-sifc';