Commit 30e5c99d authored by mku's avatar mku

ZP-117 #comment Warning when MeetingRequest can not be opened #time 10m

git-svn-id: https://z-push.org/svn/z-push/trunk@1317 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent e1004315
......@@ -844,9 +844,10 @@ class BackendZarafa implements IBackend, ISearchProvider {
public function MeetingResponse($requestid, $folderid, $response) {
// Use standard meeting response code to process meeting request
$reqentryid = mapi_msgstore_entryidfromsourcekey($this->store, hex2bin($folderid), hex2bin($requestid));
if ($reqentryid)
$mapimessage = mapi_msgstore_openentry($this->store, $reqentryid);
if (!$reqentryid)
throw new StatusException(sprintf("BackendZarafa->MeetingResponse('%s', '%s', '%s'): Error, unable to entryid of the message 0x%X", $requestid, $folderid, $response, mapi_last_hresult()), SYNC_MEETRESPSTATUS_MAILBOXERROR);
$mapimessage = mapi_msgstore_openentry($this->store, $reqentryid);
if(!$mapimessage)
throw new StatusException(sprintf("BackendZarafa->MeetingResponse('%s','%s', '%s'): Error, unable to open request message for response 0x%X", $requestid, $folderid, $response, mapi_last_hresult()), SYNC_MEETRESPSTATUS_MAILBOXERROR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment