svn: /web/doc-editor/trunk/php/ class.php
[email protected] (Yannick Torres)
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <[email protected]> |
yannick Wed, 11 Nov 2009 21:11:34 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=290534
Log:
Remove sendEmail's method from class.php. This method is present in AccountManager.php as email's method
Changed paths:
U web/doc-editor/trunk/php/class.php
Modified: web/doc-editor/trunk/php/class.php
===================================================================
--- web/doc-editor/trunk/php/class.php 2009-11-11 21:10:46 UTC (rev 290533)
+++ web/doc-editor/trunk/php/class.php 2009-11-11 21:11:34 UTC (rev 290534)
@@ -1817,21 +1817,6 @@
}
/**
- * Send an email.
- *
- * @param $to The Receiver.
- * @param $subject The subject of the email.
- * @param $msg The content of the email. Don't use HTML here ; only plain text.
- */
- function sendEmail($to, $subject, $msg) {
-
- $headers = 'From: '.$this->cvsLogin.'@php.net' . "\r\n" .
- 'X-Mailer: PhpDocumentation Online Editor' . "\r\n" .
- 'Content-Type: text/plain; charset="utf-8"'."\n";
- mail($to, stripslashes($subject), stripslashes(trim($msg)), $headers);
- }
-
- /**
* Get all files from the local copy.
*
* @param $node The start folder to retrieve files/folders from.