Commit 3e3ba845 authored by Sebastian Kummer's avatar Sebastian Kummer

Revert "Merge pull request #66 in ZP/z-push from...

Revert "Merge pull request #66 in ZP/z-push from bugfix/ZP-724-contact-s-birthday-is-not-updated to develop"

This reverts commit db7d11d4.
parent 941184aa
...@@ -56,7 +56,6 @@ class SyncMeetingRequestRecurrence extends SyncObject { ...@@ -56,7 +56,6 @@ class SyncMeetingRequestRecurrence extends SyncObject {
public $dayofmonth; public $dayofmonth;
public $weekofmonth; public $weekofmonth;
public $monthofyear; public $monthofyear;
public $calendartype;
function SyncMeetingRequestRecurrence() { function SyncMeetingRequestRecurrence() {
$mapping = array ( $mapping = array (
...@@ -115,10 +114,6 @@ class SyncMeetingRequestRecurrence extends SyncObject { ...@@ -115,10 +114,6 @@ 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) )), 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); parent::SyncObject($mapping);
} }
} }
......
...@@ -56,7 +56,6 @@ class SyncRecurrence extends SyncObject { ...@@ -56,7 +56,6 @@ class SyncRecurrence extends SyncObject {
public $dayofmonth; public $dayofmonth;
public $weekofmonth; public $weekofmonth;
public $monthofyear; public $monthofyear;
public $calendartype;
function SyncRecurrence() { function SyncRecurrence() {
$mapping = array ( $mapping = array (
...@@ -115,10 +114,6 @@ class SyncRecurrence extends SyncObject { ...@@ -115,10 +114,6 @@ class SyncRecurrence extends SyncObject {
self::STREAMER_CHECKS => array( self::STREAMER_CHECK_ONEVALUEOF => array(1,2,3,4,5,6,7,8,9,10,11,12) )), 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_POOMCAL_CALENDARTYPE] = array ( self::STREAMER_VAR => "calendartype");
}
parent::SyncObject($mapping); parent::SyncObject($mapping);
} }
} }
......
...@@ -59,7 +59,6 @@ class SyncTaskRecurrence extends SyncObject { ...@@ -59,7 +59,6 @@ class SyncTaskRecurrence extends SyncObject {
public $monthofyear; public $monthofyear;
public $regenerate; public $regenerate;
public $deadoccur; public $deadoccur;
public $calendartype;
function SyncTaskRecurrence() { function SyncTaskRecurrence() {
$mapping = array ( $mapping = array (
...@@ -122,12 +121,8 @@ class SyncTaskRecurrence extends SyncObject { ...@@ -122,12 +121,8 @@ class SyncTaskRecurrence extends SyncObject {
// 1-12 representing the month // 1-12 representing the month
SYNC_POOMTASKS_MONTHOFYEAR => array ( self::STREAMER_VAR => "monthofyear", 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) )), 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); 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