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