Commit 33f9bead authored by Ralf Becker's avatar Ralf Becker

ZP-960 Other fatal PHP 7 errors.

Released under the Affero GNU General Public License (AGPL) version 3.
parent e729b422
......@@ -238,7 +238,7 @@ class Mail_smtp extends Mail {
$this->addServiceExtensionParameter('XVERP', is_bool($params['verp']) ? null : $params['verp']);
}
register_shutdown_function(array(&$this, '_Mail_smtp'));
register_shutdown_function(array($this, '_Mail_smtp'));
}
/**
......@@ -377,13 +377,13 @@ class Mail_smtp extends Mail {
* @since 1.2.0
* @access public
*/
function &getSMTPObject()
function getSMTPObject()
{
if (is_object($this->_smtp) !== false) {
return $this->_smtp;
}
$this->_smtp = &new Net_SMTP($this->host,
$this->_smtp = new Net_SMTP($this->host,
$this->port,
$this->localhost,
$this->pipelining,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment