Bläddra i källkod

debug mail forwarding

andre 1 år sedan
förälder
incheckning
1b17ff846f
1 ändrade filer med 8 tillägg och 8 borttagningar
  1. 8 8
      app/Libs/Zimbra/Components/Api/Soap/MySoapClient.php

+ 8 - 8
app/Libs/Zimbra/Components/Api/Soap/MySoapClient.php

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