cvs: pear /Net_SMTP SMTP.php
| From: | Chuck Hagenbuch | Date: | Thu, 25 Jan 2007 18:39:46 +0000 |
| Subject: | cvs: pear /Net_SMTP SMTP.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-44377@lists.php.net to get a copy of this message | ||
chagenbu Thu Jan 25 18:39:46 2007 UTC
Modified files:
/pear/Net_SMTP SMTP.php
Log:
Avoid &new
http://cvs.php.net/viewvc.cgi/pear/Net_SMTP/SMTP.php?r1=1.55&r2=1.56&diff_format=u
Index: pear/Net_SMTP/SMTP.php
diff -u pear/Net_SMTP/SMTP.php:1.55 pear/Net_SMTP/SMTP.php:1.56
--- pear/Net_SMTP/SMTP.php:1.55 Mon Feb 6 06:00:22 2006
+++ pear/Net_SMTP/SMTP.php Thu Jan 25 18:39:46 2007
@@ -18,7 +18,7 @@
// | Damian Alejandro Fernandez Sosa <damlists@cnba.uba.ar> |
// +----------------------------------------------------------------------+
//
-// $Id: SMTP.php,v 1.55 2006/02/06 06:00:22 jon Exp $
+// $Id: SMTP.php,v 1.56 2007/01/25 18:39:46 chagenbu Exp $
require_once 'PEAR.php';
require_once 'Net/Socket.php';
@@ -123,7 +123,7 @@
if (isset($port)) $this->port = $port;
if (isset($localhost)) $this->localhost = $localhost;
- $this->_socket = &new Net_Socket();
+ $this->_socket = new Net_Socket();
/*
* Include the Auth_SASL package. If the package is not available,