@@ -55,14 +55,6 @@ class MySoapClient extends SoapClient
}
- logModuleCall(
- 'zimbraEmail',
- __FUNCTION__,
- $request,
- $action,
- $response
- );
-
if((isset($this->__soap_fault)) && ($this->__soap_fault != null)) {
//this is where the exception from __doRequest is stored
@@ -93,6 +85,14 @@ class MySoapClient extends SoapClient
{
$response = parent::__soapCall($function_name, $arguments, $options, $input_headers, $output_headers);
+ logModuleCall(
+ 'zimbraEmail',
+ __FUNCTION__,
+ [ $function_name, $arguments, $options ],
+ 'debug',
+ $response
+ );
+
return $response;