Skip to content

Commit

Permalink
No need for default truncationsize values.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Nov 25, 2014
1 parent 873f856 commit dc42533
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -1181,7 +1181,7 @@ public function getMessage($folderid, $id, array $collection)
$message = $this->_connector->calendar_export($id, array(
'protocolversion' => $this->_version,
'truncation' => $collection['truncation'],
'bodyprefs' => $this->addDefaultBodyPrefTruncation($collection['bodyprefs']),
'bodyprefs' => $collection['bodyprefs'],
'mimesupport' => $collection['mimesupport']), $folder_id);

// Nokia MfE requires the optional UID element.
Expand Down Expand Up @@ -1224,7 +1224,7 @@ public function getMessage($folderid, $id, array $collection)
$message = $this->_connector->contacts_export($id, array(
'protocolversion' => $this->_version,
'truncation' => $collection['truncation'],
'bodyprefs' => $this->addDefaultBodyPrefTruncation($collection['bodyprefs']),
'bodyprefs' => $collection['bodyprefs'],
'mimesupport' => $collection['mimesupport'],
'device' => $this->_device));
} catch (Horde_Exception $e) {
Expand All @@ -1239,7 +1239,7 @@ public function getMessage($folderid, $id, array $collection)
$message = $this->_connector->tasks_export($id, array(
'protocolversion' => $this->_version,
'truncation' => $collection['truncation'],
'bodyprefs' => $this->addDefaultBodyPrefTruncation($collection['bodyprefs']),
'bodyprefs' => $collection['bodyprefs'],
'mimesupport' => $collection['mimesupport']));
} catch (Horde_Exception $e) {
$this->_logger->err($e->getMessage());
Expand All @@ -1253,7 +1253,7 @@ public function getMessage($folderid, $id, array $collection)
$message = $this->_connector->notes_export($id, array(
'protocolversion' => $this->_version,
'truncation' => $collection['truncation'],
'bodyprefs' => $this->addDefaultBodyPrefTruncation($collection['bodyprefs']),
'bodyprefs' => $collection['bodyprefs'],
'mimesupport' => $collection['mimesupport']));
} catch (Horde_Exception $e) {
$this->_logger->err($e->getMessage());
Expand Down

0 comments on commit dc42533

Please sign in to comment.