|
|
@@ -31,7 +31,6 @@ class MySoapClient extends SoapClient
|
|
|
$request = str_replace(array('ns1:DistributionListActionRequest', 'xmlns:ns2="urn:zimbra"'), array('ns2:DistributionListActionRequest', 'xmlns:ns2="urn:zimbraAccount"'), $request);
|
|
|
}
|
|
|
|
|
|
- $response = parent::__doRequest($request, $location, $action, $version);
|
|
|
logModuleCall(
|
|
|
'zimbraEmail',
|
|
|
__FUNCTION__,
|
|
|
@@ -42,7 +41,17 @@ class MySoapClient extends SoapClient
|
|
|
$version
|
|
|
],
|
|
|
"Debug: request, location, action, version",
|
|
|
- $response
|
|
|
+ time()
|
|
|
+ );
|
|
|
+
|
|
|
+ $response = parent::__doRequest($request, $location, $action, $version);
|
|
|
+
|
|
|
+ logModuleCall(
|
|
|
+ 'zimbraEmail',
|
|
|
+ __FUNCTION__,
|
|
|
+ $response,
|
|
|
+ "Debug: response",
|
|
|
+ time()
|
|
|
);
|
|
|
|
|
|
return $response;
|
|
|
@@ -58,7 +67,6 @@ class MySoapClient extends SoapClient
|
|
|
*/
|
|
|
public function __soapCall($function_name, array $arguments, array $options = null, $input_headers = null, array &$output_headers = null)
|
|
|
{
|
|
|
- $response = parent::__soapCall($function_name, $arguments, $options, $input_headers, $output_headers);
|
|
|
logModuleCall(
|
|
|
'zimbraEmail',
|
|
|
__FUNCTION__,
|
|
|
@@ -70,7 +78,17 @@ class MySoapClient extends SoapClient
|
|
|
$output_headers
|
|
|
],
|
|
|
"Debug: function_name, arguments, options, input_headers, output_headers",
|
|
|
- $response
|
|
|
+ time()
|
|
|
+ );
|
|
|
+
|
|
|
+ $response = parent::__soapCall($function_name, $arguments, $options, $input_headers, $output_headers);
|
|
|
+
|
|
|
+ logModuleCall(
|
|
|
+ 'zimbraEmail',
|
|
|
+ __FUNCTION__,
|
|
|
+ $response,
|
|
|
+ "Debug: function_name, arguments, options, input_headers, output_headers",
|
|
|
+ time()
|
|
|
);
|
|
|
|
|
|
return $response;
|