updated activesync engine to latest as12.1 code from Andreas B:

- adding better support for non strict protocol implementations to improve device compatibility
- fixing an issue of iOS Mail App crashing, due to server reporting changes not requested by client during message fetch.
- adding support for multiple profiles(with different usernames) on one device to one server. (iOS) 
- Protocol Version 14.1 is now offered to the client
- general improvements to request handling
Updated egw backend and all plugins to be compatible with latest changes to sync engine.

ATTENTION: profiles need to be recreated on the devices.
This commit is contained in:
Philip Herbert 2011-04-02 20:18:37 +00:00
parent 972eb515c3
commit cbcc4c6c49
2 changed files with 3 additions and 2 deletions

View File

@ -318,7 +318,7 @@ class addressbook_activesync implements activesync_plugin_write, activesync_plug
* @param bool $mimesupport
* @return $messageobject|boolean false on error
*/
public function GetMessage($folderid, $id, $truncsize, $bodypreference=false, $mimesupport = 0)
public function GetMessage($folderid, $id, $truncsize, $bodypreference=false, $optionbodypreference=false, $mimesupport = 0)
{
if (!isset($this->addressbook)) $this->addressbook = new addressbook_bo();

View File

@ -675,10 +675,11 @@ class calendar_activesync implements activesync_plugin_write
* @param string|array $id cal_id or event array (used internally)
* @param int $truncsize
* @param int|bool $bodypreference=false
* @param $optionbodypreference=false
* @param int $mimesupport=0
* @return SyncAppointment|boolean false on error
*/
public function GetMessage($folderid, $id, $truncsize, $bodypreference=false, $mimesupport = 0)
public function GetMessage($folderid, $id, $truncsize, $bodypreference=false, $optionbodypreference=false, $mimesupport = 0)
{
if (!isset($this->calendar)) $this->calendar = new calendar_boupdate();