Skip to content

Commit

Permalink
Fix PARTIAL sync handling when no COLLECTIONS are provided.
Browse files Browse the repository at this point in the history
Bug: 13912
  • Loading branch information
mrubinsk committed Mar 18, 2015
1 parent 60a3de5 commit a33777f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions framework/ActiveSync/lib/Horde/ActiveSync/Collections.php
Expand Up @@ -773,6 +773,10 @@ public function initPartialSync()
if (empty($this->_collections)) {
$this->_logger->err('No collections in collection handler, loading full collection set from cache.');
$this->loadCollectionsFromCache();

// Need this for all PARTIAL sync requests.
$this->_tempSyncCache = clone $this->_cache;

foreach ($this->_collections as $value) {
// Remove keys from confirmed synckeys array and count them
if (isset($value['synckey'])) {
Expand Down

0 comments on commit a33777f

Please sign in to comment.