Skip to content

Commit

Permalink
Pass the device object.
Browse files Browse the repository at this point in the history
No idea how this wasn't in master. Was in a local topic branch that
I *thought* was branched from master. Probably some merge error from
when we had the seperate branches...
  • Loading branch information
mrubinsk committed Mar 24, 2014
1 parent ce23746 commit 8956d9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions framework/Core/lib/Horde/Core/ActiveSync/Connector.php
Expand Up @@ -256,6 +256,7 @@ public function contacts_listUids($source = null)
* DEFAULT: none (No body prefs enforced).
* - truncation: (integer) Truncate event body to this length
* DEFAULT: none (No truncation).
* - device: (Horde_ActiveSync_Device) The device object.
*
* @return Horde_ActiveSync_Message_Contact The contact object.
*/
Expand Down
3 changes: 2 additions & 1 deletion framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -1200,7 +1200,8 @@ public function getMessage($folderid, $id, array $collection)
'protocolversion' => $this->_version,
'truncation' => $collection['truncation'],
'bodyprefs' => $this->addDefaultBodyPrefTruncation($collection['bodyprefs']),
'mimesupport' => $collection['mimesupport']));
'mimesupport' => $collection['mimesupport'],
'device' => $this->_device));
} catch (Horde_Exception $e) {
$this->_logger->err($e->getMessage());
$this->_endBuffer();
Expand Down

0 comments on commit 8956d9a

Please sign in to comment.