Commit 63c9431e authored by Vincent Sherwood's avatar Vincent Sherwood

ZP-799 Fix bug DisallowNewTimeProposal is AS14 and later feature. Released...

ZP-799 Fix bug DisallowNewTimeProposal is AS14 and later feature. Released under the Affero GNU General Public License (AGPL) version 3.
parent d8e7289b
...@@ -129,11 +129,13 @@ class SyncMeetingRequest extends SyncObject { ...@@ -129,11 +129,13 @@ class SyncMeetingRequest extends SyncObject {
SYNC_POOMMAIL_GLOBALOBJID => array ( self::STREAMER_VAR => "globalobjid"), SYNC_POOMMAIL_GLOBALOBJID => array ( self::STREAMER_VAR => "globalobjid"),
SYNC_POOMMAIL_DISALLOWNEWTIMEPROPOSAL => array ( self::STREAMER_VAR => "disallownewtimeproposal",
self::STREAMER_CHECKS => array( self::STREAMER_CHECK_REQUIRED => self::STREAMER_CHECK_SETZERO,
self::STREAMER_CHECK_ONEVALUEOF => array(0,1) )),
); );
if (Request::GetProtocolVersion() >= 14.0) {
$mapping[SYNC_POOMMAIL_DISALLOWNEWTIMEPROPOSAL] = array ( self::STREAMER_VAR => "disallownewtimeproposal",
self::STREAMER_CHECKS => array( self::STREAMER_CHECK_REQUIRED => self::STREAMER_CHECK_SETZERO,
self::STREAMER_CHECK_ONEVALUEOF => array(0,1) ));
}
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