mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Remove unused GetConnectedPort()
This commit is contained in:
parent
1b49399c46
commit
4a4b2938a6
2 changed files with 3 additions and 9 deletions
|
|
@ -55,8 +55,8 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
{
|
||||
return \md5('ImapClientHash/'.
|
||||
$this->Settings->Login . '@' .
|
||||
$this->GetConnectedHost() . ':' .
|
||||
$this->GetConnectedPort()
|
||||
$this->Settings->host . ':' .
|
||||
$this->Settings->port
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -218,8 +218,7 @@ class ImapClient extends \MailSo\Net\NetClient
|
|||
|
||||
$this->setCapabilities($oResponse);
|
||||
|
||||
if (\strlen($sProxyAuthUser))
|
||||
{
|
||||
if (\strlen($sProxyAuthUser)) {
|
||||
$this->SendRequestGetResponse('PROXYAUTH', array($this->EscapeString($sProxyAuthUser)));
|
||||
}
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -55,11 +55,6 @@ abstract class NetClient
|
|||
return $this->sConnectedHost;
|
||||
}
|
||||
|
||||
public function GetConnectedPort() : int
|
||||
{
|
||||
return $this->Settings->port;
|
||||
}
|
||||
|
||||
public function SetTimeOuts(int $iConnectTimeOut = 10) : void
|
||||
{
|
||||
$this->iConnectTimeOut = \max(5, $iConnectTimeOut);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue