From 37c3017ee730b40d874d8208ef26c7a534d5fbbb Mon Sep 17 00:00:00 2001 From: sergem Date: Thu, 9 Apr 2009 13:13:33 +0200 Subject: [PATCH] KTS-4188. Removed the lines writing to the mail log when a mail is sent as it was crashing the script and causing webservices updating the document type to fail. Refer to Megan Watson for more info "CLONE -Unexpected disconnections in KT Tools(SUP-1577)" Fixed --- lib/alert/delivery/EmailAlert.inc | 4 ---- 1 file changed, 0 insertions(+), 4 deletions(-) diff --git a/lib/alert/delivery/EmailAlert.inc b/lib/alert/delivery/EmailAlert.inc index 88af1c2..6dc0328 100644 --- a/lib/alert/delivery/EmailAlert.inc +++ b/lib/alert/delivery/EmailAlert.inc @@ -67,10 +67,6 @@ class EmailAlert { function send() { global $default; - $content = file_get_contents("maillog.txt"); - file_put_contents("maillog.txt",$content."\n\n============ Mail Log ===============\nEmail:".$this->sAddress."\n". - "sSubject:".$this->sSubject."\nBody:".$this->sContent."\n"); - if ($this->oEmail->send($this->sAddress, $this->sSubject, $this->sContent)) { $default->log->debug("EmailAlert::EmailAlert successfully sent email to $this->sAddress"); return true; -- libgit2 0.21.4