Commit 4d4b2ed2 authored by skummer's avatar skummer

ZP-258 #comment fixed $messageid variable name in log message #time 15m

git-svn-id: https://z-push.org/svn/z-push/trunk@1502 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 0080dcdb
...@@ -231,12 +231,12 @@ class ImportChangesICS implements IImportChanges { ...@@ -231,12 +231,12 @@ class ImportChangesICS implements IImportChanges {
private function isMessageInSyncInterval($messageid) { private function isMessageInSyncInterval($messageid) {
$entryid = mapi_msgstore_entryidfromsourcekey($this->store, $this->folderid, hex2bin($messageid)); $entryid = mapi_msgstore_entryidfromsourcekey($this->store, $this->folderid, hex2bin($messageid));
if(!$entryid) { if(!$entryid) {
ZLog::Write(LOGLEVEL_WARN, sprintf("ImportChangesICS->isMessageInSyncInterval('%s'): Error, unable to resolve message id", $id)); ZLog::Write(LOGLEVEL_WARN, sprintf("ImportChangesICS->isMessageInSyncInterval('%s'): Error, unable to resolve message id", $messageid));
return false; return false;
} }
$mapimessage = mapi_msgstore_openentry($this->store, $entryid); $mapimessage = mapi_msgstore_openentry($this->store, $entryid);
if ($this->contentClass == "Email") if ($this->contentClass == "Email")
return MAPIUtils::IsInEmailSyncInterval($this->store, $mapimessage, $this->cutoffdate); return MAPIUtils::IsInEmailSyncInterval($this->store, $mapimessage, $this->cutoffdate);
elseif ($this->contentClass == "Calendar") elseif ($this->contentClass == "Calendar")
......
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