Commit 2fd9181991eb2b2d3c245cd0857e8e3ae34fb582

Authored by Paul Barrett
2 parents 61c207a3 2deba881

Merge branch 'master' of git@github.com:ktgit/knowledgetree

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;
... ...