log an errormessage to error-log, if expunge fails, after moving to trash on deleteMessage

This commit is contained in:
Klaus Leithoff 2011-09-13 11:30:46 +00:00
parent ef6bc0949a
commit d35dcaa295

View File

@ -684,7 +684,8 @@
return false;
}
// delete the messages finaly
$this->icServer->expunge();
$rv = $this->icServer->expunge();
if ( PEAR::isError($rv)) error_log(__METHOD__." failed to expunge Message(s) from Folder: ".$_folder.' due to:'.$rv->message);
}
break;