|
|
@@ -471,19 +471,19 @@ class KerioApi implements KerioApiInterface {
|
|
|
}
|
|
|
$json_request = json_encode($request);
|
|
|
|
|
|
- /* Send data to server */
|
|
|
- $json_response = $this->send('POST', $json_request);
|
|
|
- /* Return */
|
|
|
- $response = json_decode($json_response, TRUE);
|
|
|
-
|
|
|
logModuleCall(
|
|
|
'kerioEmail',
|
|
|
__FUNCTION__,
|
|
|
$json_request,
|
|
|
'Debug Error',
|
|
|
- $response
|
|
|
+ $params
|
|
|
);
|
|
|
|
|
|
+ /* Send data to server */
|
|
|
+ $json_response = $this->send('POST', $json_request);
|
|
|
+ /* Return */
|
|
|
+ $response = json_decode($json_response, TRUE);
|
|
|
+
|
|
|
return $response['result'];
|
|
|
}
|
|
|
|