Skip to content

Commit

Permalink
Do not clear the wait or hbinterval values.
Browse files Browse the repository at this point in the history
If they change, we catch it later on and update it anyway. Clearing
it here wipes out the cached hbinterval when a EAS 12.1+ client
doesn't use the hanging SYNC, but instead still uses PING.
  • Loading branch information
mrubinsk committed May 15, 2014
1 parent f47fe04 commit 2a6a67b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions framework/ActiveSync/lib/Horde/ActiveSync/Request/Sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,6 @@ protected function _handle()
return true;
}
} else {
if ($this->_device->version >= Horde_ActiveSync::VERSION_TWELVEONE) {
$this->_collections->setHeartbeat(array('wait' => false, 'hbinterval' => false));
}

// Start decoding request.
while (($sync_tag = ($this->_decoder->getElementStartTag(Horde_ActiveSync::SYNC_WINDOWSIZE) ? Horde_ActiveSync::SYNC_WINDOWSIZE :
($this->_decoder->getElementStartTag(Horde_ActiveSync::SYNC_FOLDERS) ? Horde_ActiveSync::SYNC_FOLDERS :
Expand Down

0 comments on commit 2a6a67b

Please sign in to comment.