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:29:57 +00:00
parent 24c3797dba
commit 63a5682169

View File

@ -810,7 +810,8 @@ class felamimail_bo
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;