andre пре 2 година
родитељ
комит
ac209313db

+ 9 - 0
app/Http/Actions/TestConnection.php

@@ -59,6 +59,15 @@ class TestConnection extends AddonController
              */
             $connection = $api->soap->getConnection();
 
+
+        logModuleCall(
+            'kerioEmail',
+            __FUNCTION__,
+            $connection,
+            'Debug SOAP Response',
+            $params
+        );
+
             /**
              * check if connected and return true
              */

+ 0 - 8
app/Libs/Kerio/Components/Api/Soap/Connection.php

@@ -313,14 +313,6 @@ class Connection implements ConnectionInterface
          */
         $soapRes = $this->soapClient->__getLastResponse();
 
-        logModuleCall(
-            'kerioEmail',
-            __FUNCTION__,
-            $response,
-            'Debug SOAP Response',
-            $soapRes
-        );
-
         /**
          *
          * set response model params