diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Net/NetClient.php b/snappymail/v/0.0.0/app/libraries/MailSo/Net/NetClient.php index e1e933899..53afe8c8e 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Net/NetClient.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Net/NetClient.php @@ -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')