Commit 37c3017ee730b40d874d8208ef26c7a534d5fbbb
1 parent
8440ff6f
KTS-4188. Removed the lines writing to the mail log when a mail is sent as it wa…
…s 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 Committed by: Serge Meunier Reviewed by: Megan Watson
Showing
1 changed file
with
0 additions
and
4 deletions
lib/alert/delivery/EmailAlert.inc
| ... | ... | @@ -67,10 +67,6 @@ class EmailAlert { |
| 67 | 67 | function send() { |
| 68 | 68 | global $default; |
| 69 | 69 | |
| 70 | - $content = file_get_contents("maillog.txt"); | |
| 71 | - file_put_contents("maillog.txt",$content."\n\n============ Mail Log ===============\nEmail:".$this->sAddress."\n". | |
| 72 | - "sSubject:".$this->sSubject."\nBody:".$this->sContent."\n"); | |
| 73 | - | |
| 74 | 70 | if ($this->oEmail->send($this->sAddress, $this->sSubject, $this->sContent)) { |
| 75 | 71 | $default->log->debug("EmailAlert::EmailAlert successfully sent email to $this->sAddress"); |
| 76 | 72 | return true; | ... | ... |