From 1239a151320b7d8ebbdb1efa560dd479ccd2efa6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 4 Oct 2016 15:35:20 +0200 Subject: [PATCH] * eSync: only export raw email for contacts as Outlook seems to have problems with it not '"Firstname Lastname" ', see ticket #18232 from GNS Christoph Kaulich --- addressbook/inc/class.addressbook_zpush.inc.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/addressbook/inc/class.addressbook_zpush.inc.php b/addressbook/inc/class.addressbook_zpush.inc.php index cf9d6a87d2..164340608b 100644 --- a/addressbook/inc/class.addressbook_zpush.inc.php +++ b/addressbook/inc/class.addressbook_zpush.inc.php @@ -397,13 +397,6 @@ class addressbook_zpush implements activesync_plugin_write, activesync_plugin_se $message->categories[] = $this->get_addressbooks($contact['owner'].($contact['private']?'p':''), false, true); } break; - case 'email': - case 'email_home': - if (!empty($contact[$attr])) - { - $message->$key = ('"'.$emailname.'"'." <$contact[$attr]>"); - } - break; // HTC Desire needs at least one telefon number, otherwise sync of contact fails without error, // but will be retired forerver --> we always return work-phone xml element, even if it's empty // (Mircosoft ActiveSync Contact Class Protocol Specification says all phone-numbers are optional!)