quiten debug log chitterchatter for SendMail and GetMessage; ignore ZPush Option SaveInSent, as it appears to be set to null always; Use EGroupware settings instead

This commit is contained in:
Klaus Leithoff 2015-07-02 13:29:11 +00:00
parent 299f66cce0
commit f1c7fc9656

View File

@ -1466,8 +1466,8 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
// move message
$rv = $this->mail->moveMessages($destFolder,(array)$id,true,$srcFolder,true);
debugLog(__METHOD__.__LINE__.array2string($rv)); // this may be true, so try using the nextUID value by examine
// return the new id "as string""
debugLog(__METHOD__.__LINE__.": New Status of $destFolder :".array2string($status).", ReturnValOf moveMessage".array2string($rv)); // this may be true, so try using the nextUID value by examine
// return the new id "as string"
return ($rv===true ? $uidNext : $rv[$id]) . "";
}
@ -1842,7 +1842,9 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
{
debugLog(__METHOD__.__LINE__.' called.');
$this->_connect($this->account);
return $this->_wasteID;
$rv = $this->createID($this->account,$this->_wasteID);
debugLog(__METHOD__.__LINE__.': Account:'.$this->account.", WasteID:".$this->_wasteID.'->'.$rv);
return $rv;
}
/**