X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fpear%2FMail%2Fmail.php;h=4d21dc29afb8fae64fe801437d6ca0c653f902fe;hb=90ff65cf45284f90b1c4e09fe575319b320f56ac;hp=a8b4b5dbeef6c0b194fa9a2036af40c2feb5869a;hpb=afe2d051307ae2cd54bdb957f04e1d9f625f2dd9;p=timetracker.git diff --git a/WEB-INF/lib/pear/Mail/mail.php b/WEB-INF/lib/pear/Mail/mail.php index a8b4b5db..4d21dc29 100644 --- a/WEB-INF/lib/pear/Mail/mail.php +++ b/WEB-INF/lib/pear/Mail/mail.php @@ -2,7 +2,7 @@ /** * internal PHP-mail() implementation of the PEAR Mail:: interface. * - * PHP versions 4 and 5 + * PHP version 5 * * LICENSE: * @@ -39,14 +39,14 @@ * @author Chuck Hagenbuch * @copyright 2010 Chuck Hagenbuch * @license http://opensource.org/licenses/bsd-license.php New BSD License - * @version CVS: $Id: mail.php 294747 2010-02-08 08:18:33Z clockwerx $ + * @version CVS: $Id$ * @link http://pear.php.net/package/Mail/ */ /** * internal PHP-mail() implementation of the PEAR Mail:: interface. * @package Mail - * @version $Revision: 294747 $ + * @version $Revision$ */ class Mail_mail extends Mail { @@ -64,7 +64,7 @@ class Mail_mail extends Mail { * * @param array $params Extra arguments for the mail() function. */ - function Mail_mail($params = null) + public function __construct($params = null) { // The other mail implementations accept parameters as arrays. // In the interest of being consistent, explode an array into @@ -109,10 +109,8 @@ class Mail_mail extends Mail { * @return mixed Returns true on success, or a PEAR_Error * containing a descriptive error message on * failure. - * - * @access public */ - function send($recipients, $headers, $body) + public function send($recipients, $headers, $body) { if (!is_array($headers)) { return PEAR::raiseError('$headers must be an array');