Commit 76595fff authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #277 in ZP/z-push from...

Merge pull request #277 in ZP/z-push from bugfix/ZP-960-other-fatal-PHP-7-errors to bugfix/ZP-805-update-class-constructors

* commit '33f9bead':
  ZP-960 Other fatal PHP 7 errors.
parents f97c471a 33f9bead
......@@ -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