cvs: pear /Log/Log mail.php
| From: | Jon Parise | Date: | Fri, 02 Jan 2004 01:26:59 +0000 |
| Subject: | cvs: pear /Log/Log mail.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15262@lists.php.net to get a copy of this message | ||
jon Thu Jan 1 20:26:59 2004 EDT
Modified files:
/pear/Log/Log mail.php
Log:
Clear the message string once the email has been sent.
Index: pear/Log/Log/mail.php
diff -u pear/Log/Log/mail.php:1.16 pear/Log/Log/mail.php:1.17
--- pear/Log/Log/mail.php:1.16 Sat Nov 8 17:39:55 2003
+++ pear/Log/Log/mail.php Thu Jan 1 20:26:59 2004
@@ -1,8 +1,8 @@
<?php
/**
- * $Header: /repository/pear/Log/Log/mail.php,v 1.16 2003/11/08 22:39:55 jon Exp $
+ * $Header: /repository/pear/Log/Log/mail.php,v 1.17 2004/01/02 01:26:59 jon Exp $
*
- * @version $Revision: 1.16 $
+ * @version $Revision: 1.17 $
* @package Log
*/
@@ -144,6 +144,9 @@
error_log("Log_mail: Failure executing mail()", 0);
return false;
}
+
+ /* Clear the message string now that the email has been sent. */
+ $this->_message = '';
}
$this->_opened = false;
}