|
|
@@ -307,6 +307,15 @@ class KerioApi implements KerioApiInterface {
|
|
|
);
|
|
|
|
|
|
$response = $this->sendRequest($method, $params);
|
|
|
+
|
|
|
+ logModuleCall(
|
|
|
+ 'kerioEmail',
|
|
|
+ __FUNCTION__,
|
|
|
+ $params,
|
|
|
+ 'Debug Kerio Api 1',
|
|
|
+ $response
|
|
|
+ );
|
|
|
+
|
|
|
return $response;
|
|
|
}
|
|
|
|
|
|
@@ -477,15 +486,6 @@ class KerioApi implements KerioApiInterface {
|
|
|
|
|
|
/* Send data to server */
|
|
|
$json_response = $this->send('POST', $json_request);
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'kerioEmail',
|
|
|
- __FUNCTION__,
|
|
|
- $params,
|
|
|
- 'Debug Kerio Api 1',
|
|
|
- $json_response
|
|
|
- );
|
|
|
-
|
|
|
/* Return */
|
|
|
$response = json_decode($json_response, TRUE);
|
|
|
return $response['result'];
|