mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Resolve #936
This commit is contained in:
parent
477628ed70
commit
396a1a423e
1 changed files with 2 additions and 9 deletions
|
|
@ -92,7 +92,8 @@ abstract class NetClient
|
|||
}
|
||||
|
||||
if ($this->IsConnected()) {
|
||||
$this->writeLogException(new Exceptions\SocketAlreadyConnectedException, \LOG_ERR);
|
||||
$this->writeLogException(new Exceptions\SocketAlreadyConnectedException, \LOG_ERR, false);
|
||||
return;
|
||||
}
|
||||
|
||||
$this->Settings = $oSettings;
|
||||
|
|
@ -214,14 +215,6 @@ abstract class NetClient
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws \MailSo\Net\Exceptions\SocketConnectionDoesNotAvailableException
|
||||
*/
|
||||
public function IsConnectedWithException() : void
|
||||
{
|
||||
$this->IsConnected(true);
|
||||
}
|
||||
|
||||
public function StreamContextParams() : array
|
||||
{
|
||||
return $this->rConnect && \MailSo\Base\Utils::FunctionCallable('stream_context_get_options')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue