|
@@ -156,15 +156,6 @@ class KerioApiSocket implements KerioApiSocketInterface {
|
|
|
* @throws KerioApiException
|
|
* @throws KerioApiException
|
|
|
*/
|
|
*/
|
|
|
public function send($data) {
|
|
public function send($data) {
|
|
|
-
|
|
|
|
|
- logModuleCall(
|
|
|
|
|
- 'kerioEmail',
|
|
|
|
|
- __FUNCTION__,
|
|
|
|
|
- $this->hostname,
|
|
|
|
|
- 'Debug Kerio Api 1',
|
|
|
|
|
- $data
|
|
|
|
|
- );
|
|
|
|
|
-
|
|
|
|
|
if ($this->checkConnection()) {
|
|
if ($this->checkConnection()) {
|
|
|
@fwrite($this->socketHandler, $data);
|
|
@fwrite($this->socketHandler, $data);
|
|
|
return $this->read();
|
|
return $this->read();
|