Skip to content

Commit

Permalink
Have calendar_replace return the uid/atchash data.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 31, 2016
1 parent 5d0a1b2 commit 393fc4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion framework/Core/lib/Horde/Core/ActiveSync/Connector.php
Expand Up @@ -230,10 +230,12 @@ public function calendar_import_attendee(Horde_Icalendar_vEvent $vEvent,
* @param Horde_ActiveSync_Message_Appointment $content
* The new event.
* @param string $calendar The calendar id. @since 2.12.0
*
* @return null|array May return an array of 'uid' and 'atchash' or null.
*/
public function calendar_replace($uid, Horde_ActiveSync_Message_Appointment $content, $calendar = null)
{
$this->_registry->calendar->replace($uid, $content, 'activesync', $calendar);
return $this->_registry->calendar->replace($uid, $content, 'activesync', $calendar);
}

/**
Expand Down

0 comments on commit 393fc4e

Please sign in to comment.