Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#3536 branch 'hotfix/re…
Browse files Browse the repository at this point in the history
…move-unused-helo-attribute'
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
8 changes: 0 additions & 8 deletions src/Protocol/Smtp.php
Expand Up @@ -45,14 +45,6 @@ class Smtp extends AbstractProtocol
protected $sess = false;


/**
* Indicates the HELO command has been issues
*
* @var bool
*/
protected $helo = false;


/**
* Indicates an smtp AUTH has been issued and authenticated
*
Expand Down
14 changes: 0 additions & 14 deletions test/TestAsset/SmtpProtocolSpy.php
Expand Up @@ -22,7 +22,6 @@
class SmtpProtocolSpy extends Smtp
{
protected $connect = false;
protected $helo;
protected $mail;
protected $rcptTest = array();
protected $sess = true;
Expand All @@ -36,18 +35,15 @@ public function connect()
public function helo($serverName = '127.0.0.1')
{
parent::helo($serverName);
$this->helo = $serverName;
}

public function quit()
{
$this->helo = null;
$this->rset();
}

public function disconnect()
{
$this->helo = null;
$this->connect = false;
$this->rset();
}
Expand Down Expand Up @@ -91,16 +87,6 @@ public function isConnected()
return $this->connect;
}

/**
* Get server name we opened a connection with
*
* @return null|string
*/
public function getHelo()
{
return $this->helo;
}

/**
* Get value of mail property
*
Expand Down

0 comments on commit ee05131

Please sign in to comment.