remove the pre-initialization of asbody for the messagenote2note call. its handeled in / with messagenote2note now

This commit is contained in:
leithoff 2016-06-16 16:06:53 +02:00
parent a12f6755ab
commit be27c65e98

View File

@ -410,7 +410,6 @@ class infolog_zpush implements activesync_plugin_write
switch ($attr) switch ($attr)
{ {
case 'info_des': case 'info_des':
if (is_null($message->asbody)) $message->asbody = new SyncBaseBody();
// only change info_des, if one given, as iOS5 skips description in ChangeMessage // only change info_des, if one given, as iOS5 skips description in ChangeMessage
// --> we ignore empty / not set description, so description get no longer lost, but you cant empty it via eSync // --> we ignore empty / not set description, so description get no longer lost, but you cant empty it via eSync
if (($description = $this->backend->messagenote2note($message->body, $message->rtf, $message->asbody))) if (($description = $this->backend->messagenote2note($message->body, $message->rtf, $message->asbody)))