Skip to content

Commit

Permalink
Update the serverid in the the collection data when updating the hier…
Browse files Browse the repository at this point in the history
…archy.
  • Loading branch information
mrubinsk committed May 12, 2014
1 parent df916c8 commit f6c0cfc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion framework/ActiveSync/lib/Horde/ActiveSync/Collections.php
Expand Up @@ -605,7 +605,9 @@ public function updateFolderinHierarchy(
Horde_ActiveSync_Message_Folder $folder, $update = false)
{
$this->_cache->updateFolder($folder);

$cols = $this->_cache->getCollections(false);
$cols[$folder->serverid]['serverid'] = $folder->_serverid;
$this->_cache->updateCollection($cols[$folder->serverid]);
if ($update) {
$this->_as->state->updateServerIdInState($folder->serverid, $folder->_serverid);
}
Expand Down

0 comments on commit f6c0cfc

Please sign in to comment.