mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
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:
parent
1723f6235e
commit
299f66cce0
@ -428,7 +428,7 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
|
|||||||
*/
|
*/
|
||||||
public function SendMail($smartdata)
|
public function SendMail($smartdata)
|
||||||
{
|
{
|
||||||
$this->debugLevel=3;
|
//$this->debugLevel=3;
|
||||||
$ClientSideMeetingRequest = false;
|
$ClientSideMeetingRequest = false;
|
||||||
$allowSendingInvitations = 'sendifnocalnotif';
|
$allowSendingInvitations = 'sendifnocalnotif';
|
||||||
if (isset($GLOBALS['egw_info']['user']['preferences']['activesync']['mail-allowSendingInvitations']) &&
|
if (isset($GLOBALS['egw_info']['user']['preferences']['activesync']['mail-allowSendingInvitations']) &&
|
||||||
@ -816,7 +816,7 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
|
|||||||
}
|
}
|
||||||
|
|
||||||
$asf = ($send ? true:false); // initalize accordingly
|
$asf = ($send ? true:false); // initalize accordingly
|
||||||
if (($smartdata->saveinsent==1 || !isset($smartdata->saveinsent)) && $send==true && $this->mail->mailPreferences['sendOptions'] != 'send_only')
|
if (/*($smartdata->saveinsent==1 || !isset($smartdata->saveinsent)) && */ $send==true && $this->mail->mailPreferences['sendOptions'] != 'send_only')
|
||||||
{
|
{
|
||||||
$asf = false;
|
$asf = false;
|
||||||
$sentFolder = $this->mail->getSentFolder();
|
$sentFolder = $this->mail->getSentFolder();
|
||||||
@ -904,7 +904,7 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
|
|||||||
*/
|
*/
|
||||||
public function GetMessage($folderid, $id, $contentparameters)
|
public function GetMessage($folderid, $id, $contentparameters)
|
||||||
{
|
{
|
||||||
$this->debugLevel=4;
|
//$this->debugLevel=4;
|
||||||
debugLog(__METHOD__.__LINE__.' FolderID:'.$folderid.' ID:'.$id);
|
debugLog(__METHOD__.__LINE__.' FolderID:'.$folderid.' ID:'.$id);
|
||||||
$truncsize = Utils::GetTruncSize($contentparameters->GetTruncation());
|
$truncsize = Utils::GetTruncSize($contentparameters->GetTruncation());
|
||||||
$mimesupport = $contentparameters->GetMimeSupport();
|
$mimesupport = $contentparameters->GetMimeSupport();
|
||||||
@ -1271,10 +1271,10 @@ $this->debugLevel=4;
|
|||||||
//$this->debugLevel=0;
|
//$this->debugLevel=0;
|
||||||
// end handle Attachments
|
// end handle Attachments
|
||||||
if ($this->debugLevel>3) debugLog(__METHOD__.__LINE__.array2string($output));
|
if ($this->debugLevel>3) debugLog(__METHOD__.__LINE__.array2string($output));
|
||||||
$this->debugLevel=0;
|
//$this->debugLevel=0;
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
$this->debugLevel=0;
|
//$this->debugLevel=0;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user