Skip to content

Commit

Permalink
Don't let failure to delete the request kill the entire request.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Feb 3, 2016
1 parent 6b1d3b8 commit 89ba62c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -2786,7 +2786,11 @@ public function meetingResponse(array $response)
// will remove the email from the UI as soon as the response is sent.
// Failure to remove it from the server will result in an inconsistent
// sync state.
$this->_imap->deleteMessages(array($response['requestid']), $response['folderid']);
try {
$this->_imap->deleteMessages(array($response['requestid']), $response['folderid']);
} catch (Horde_ActiveSync_Exception $e) {
$this->_logger->err($e->getMessage());
}

return $uid;
}
Expand Down

0 comments on commit 89ba62c

Please sign in to comment.