Commit c782d49a authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-724 Add CalendarType also to SyncTaskRecurrence and

SyncMeetingRequestRecurrence objects.

Released under the Affero GNU General Public License (AGPL) version 3.
parent d5c03ea3
......@@ -56,6 +56,7 @@ class SyncMeetingRequestRecurrence extends SyncObject {
public $dayofmonth;
public $weekofmonth;
public $monthofyear;
public $calendartype;
function SyncMeetingRequestRecurrence() {
$mapping = array (
......@@ -114,6 +115,10 @@ class SyncMeetingRequestRecurrence extends SyncObject {
self::STREAMER_CHECKS => array( self::STREAMER_CHECK_ONEVALUEOF => array(1,2,3,4,5,6,7,8,9,10,11,12) )),
);
if(Request::GetProtocolVersion() >= 14.0) {
$mapping[SYNC_POOMMAIL2_CALENDARTYPE] = array ( self::STREAMER_VAR => "calendartype");
}
parent::SyncObject($mapping);
}
}
......@@ -59,6 +59,7 @@ class SyncTaskRecurrence extends SyncObject {
public $monthofyear;
public $regenerate;
public $deadoccur;
public $calendartype;
function SyncTaskRecurrence() {
$mapping = array (
......@@ -121,8 +122,12 @@ class SyncTaskRecurrence extends SyncObject {
// 1-12 representing the month
SYNC_POOMTASKS_MONTHOFYEAR => array ( self::STREAMER_VAR => "monthofyear",
self::STREAMER_CHECKS => array( self::STREAMER_CHECK_ONEVALUEOF => array(1,2,3,4,5,6,7,8,9,10,11,12) )),
);
if(Request::GetProtocolVersion() >= 14.0) {
$mapping[SYNC_POOMTASKS_CALENDARTYPE] = array ( self::STREAMER_VAR => "calendartype");
}
parent::SyncObject($mapping);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment