|
|
@@ -502,15 +502,6 @@ class KerioApi implements KerioApiInterface {
|
|
|
}
|
|
|
/* Get full HTTP request */
|
|
|
$request = $this->getHttpRequest($method, $data);
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'kerioEmail',
|
|
|
- __FUNCTION__,
|
|
|
- $request,
|
|
|
- 'Debug Kerio Api 1',
|
|
|
- $this->hostname
|
|
|
- );
|
|
|
-
|
|
|
$this->debug(sprintf("→ Raw request:\n<pre>%s</pre>", $request));
|
|
|
|
|
|
/* Open socket */
|
|
|
@@ -518,6 +509,15 @@ class KerioApi implements KerioApiInterface {
|
|
|
|
|
|
/* Send data */
|
|
|
$rawResponse = $this->socketHandler->send($request);
|
|
|
+
|
|
|
+ logModuleCall(
|
|
|
+ 'kerioEmail',
|
|
|
+ __FUNCTION__,
|
|
|
+ $rawResponse,
|
|
|
+ 'Debug Kerio Api 1',
|
|
|
+ $this->socketHandler
|
|
|
+ );
|
|
|
+
|
|
|
$this->debug(sprintf("← Raw response:\n<pre>%s</pre>", $rawResponse));
|
|
|
|
|
|
/* Parse response */
|