Skip to content

Commit

Permalink
Bug: 12730 Correctly clear mailmap table on device reset.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
  • Loading branch information
aluxnimm authored and mrubinsk committed Oct 2, 2013
1 parent a1d1f40 commit 2db368b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/ActiveSync/lib/Horde/ActiveSync/State/Sql.php
Expand Up @@ -1681,7 +1681,7 @@ protected function _resetDeviceState($id)
try {
$this->_db->delete($state_query, array($this->_deviceInfo->id, $id, $this->_deviceInfo->user));
$this->_db->delete($map_query, array($this->_deviceInfo->id, $id, $this->_deviceInfo->user));
$this->_db->delete($map_query, array($this->_deviceInfo->id, $id, $this->_deviceInfo->user));
$this->_db->delete($mailmap_query, array($this->_deviceInfo->id, $id, $this->_deviceInfo->user));
} catch (Horde_Db_Exception $e) {
throw new Horde_ActiveSync_Exception($e);
}
Expand All @@ -1701,4 +1701,4 @@ protected function _resetDeviceState($id)
$cache->save();
}

}
}

0 comments on commit 2db368b

Please sign in to comment.