Commit d470723e authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #114 in ZP/z-push from...

Merge pull request #114 in ZP/z-push from bugfix/ZP-799-disallow-new-new-time-proposal-is to develop

* commit '63c9431e':
  ZP-799 Fix bug DisallowNewTimeProposal is AS14 and later feature. Released under the Affero GNU General Public License (AGPL) version 3.

(cherry picked from commit 6a1891a9)
parent b3866f5a
...@@ -129,12 +129,14 @@ class SyncMeetingRequest extends SyncObject { ...@@ -129,12 +129,14 @@ 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);
} }
} }
?> ?>
\ No newline at end of file
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