|
|
@@ -294,14 +294,6 @@ class Connection implements ConnectionInterface
|
|
|
* main request
|
|
|
*/
|
|
|
|
|
|
- logModuleCall(
|
|
|
- 'zimbraEmail',
|
|
|
- $request,
|
|
|
- $this->soapClient,
|
|
|
- "Debug",
|
|
|
- $soapHeader
|
|
|
- );
|
|
|
-
|
|
|
try
|
|
|
{
|
|
|
|
|
|
@@ -320,28 +312,10 @@ class Connection implements ConnectionInterface
|
|
|
catch (\SoapFault $ex)
|
|
|
{
|
|
|
$response->setLastError($ex->getMessage());
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'zimbraEmail',
|
|
|
- __FUNCTION__,
|
|
|
- $ex,
|
|
|
- "SoapFault",
|
|
|
- $response
|
|
|
- );
|
|
|
-
|
|
|
}
|
|
|
catch (\Exception $ex)
|
|
|
{
|
|
|
$response->setLastError($ex->getMessage());
|
|
|
-
|
|
|
- logModuleCall(
|
|
|
- 'zimbraEmail',
|
|
|
- __FUNCTION__,
|
|
|
- $ex,
|
|
|
- "SoapException",
|
|
|
- $response
|
|
|
- );
|
|
|
-
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -360,8 +334,16 @@ class Connection implements ConnectionInterface
|
|
|
->setHeaders($soapHeader)
|
|
|
->setXmlResponse($soapRes)
|
|
|
->response();
|
|
|
+
|
|
|
+ logModuleCall(
|
|
|
+ 'zimbraEmail',
|
|
|
+ __FUNCTION__,
|
|
|
+ $response,
|
|
|
+ "Debug",
|
|
|
+ $soapRes
|
|
|
+ );
|
|
|
|
|
|
- return $response;
|
|
|
+ return $response;
|
|
|
}
|
|
|
|
|
|
/**
|