$endstamp = time() + 32140800; //60 * 60 * 24 * 31 * 12 == one year
try {
- $events = $this->_connector->calendar_listEvents($startstamp, $endstamp, null);
+ $events = $this->_connector->calendar_listEvents($startstamp, $endstamp);
} catch (Horde_Exception $e) {
$this->_logger->err($e->getMessage());
return array();
*
* @param timestamp $startstamp The start of time period.
* @param timestamp $endstamp The end of time period
- * @param string $calendar The calendar(s) to get events for
*
* @return array
*/
- public function calendar_listEvents($startstamp, $endstamp, $calendar)
+ public function calendar_listEvents($startstamp, $endstamp)
{
$result = $this->_registry->calendar->listEvents(
$startstamp, // Start
$endstamp, // End
- $calendar, // Calendar
+ null, // Calendar
false, // Recurrence
false, // Alarms only
false, // Show remote
*
* @param string $action The action to check for (add, modify, delete)
* @param timestamp $from_ts The timestamp to start checking from
- * @param string $calendar The calendar to limit results to
*
* @return array An array of event uids
*/
- public function calendar_listBy($action, $from_ts, $calendar = null)
+ public function calendar_listBy($action, $from_ts)
{
- return $this->_registry->calendar->listBy($action, $from_ts, $calendar);
+ return $this->_registry->calendar->listBy($action, $from_ts);
}
/**
*
* @return string The event's UID
*/
- public function calendar_import($content, $calendar = null)
+ public function calendar_import($content)
{
- return $this->_registry->calendar->import($content, 'activesync', $calendar);
+ return $this->_registry->calendar->import($content, 'activesync');
}
/**