From: Michael J. Rubinsky Date: Sat, 24 Apr 2010 18:48:46 +0000 (-0400) Subject: Need to supply the mod time for ALL new entries, not just calendars. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ec2fc83e73a0915ec6a1d32b6255a9acc57d91b4;p=horde.git Need to supply the mod time for ALL new entries, not just calendars. New entries will not have an existing mod time in history, so need to supply it here, for the purposes of remembering the time this change was made and not mirroring it back to the PIM. --- diff --git a/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde.php b/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde.php index cf1081f6a..2e6e7699b 100644 --- a/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde.php +++ b/framework/ActiveSync/lib/Horde/ActiveSync/Driver/Horde.php @@ -481,6 +481,7 @@ class Horde_ActiveSync_Driver_Horde extends Horde_ActiveSync_Driver_Base return false; } $stat = $this->_smartStatMessage($folderid, $id, false); + $stat['mod'] = time(); } else { try { $this->_connector->contacts_replace($id, $message); @@ -500,8 +501,8 @@ class Horde_ActiveSync_Driver_Horde extends Horde_ActiveSync_Driver_Base $this->_logger->err($e->getMessage()); return false; } - $stat = $this->_smartStatMessage($folderid, $id, false); + $stat['mod'] = time(); } else { try { $this->_connector->tasks_replace($id, $message);