andre пре 1 година
родитељ
комит
30577a07dd

+ 0 - 17
app/Libs/Zimbra/Components/Api/Soap/Actions/ClassOfServices.php

@@ -19,26 +19,9 @@ class ClassOfServices extends AbstractAction
 
     public function getAllCos()
     {
-
-        logModuleCall(
-            'zimbraEmail',
-            __FUNCTION__,
-            $this,
-            "Debug5",
-            "calling GetAllCosRequest"
-        );
-
         $result = $this->connection->request("GetAllCosRequest");
         $body = $result->getResponseBody();
 
-        logModuleCall(
-            'zimbraEmail',
-            __FUNCTION__,
-            $this,
-            "Debug6",
-            $result
-        );
-
         return $body['GETALLCOSRESPONSE']['COS'];
 
     }

+ 0 - 9
app/Libs/Zimbra/Components/Api/Soap/Client.php

@@ -60,15 +60,6 @@ class Client implements ClientInterface
      */
     public function __construct($server, $port = 7071, $username, $password, $user = "admin")
     {
-
-        logModuleCall(
-            'zimbraEmail',
-            __FUNCTION__,
-            $server,
-            "Debug3",
-            $username
-        );
-
         $this->connection = new Connection($server, $port, $username, $password, $user);
         $this->connection->login();
     }

+ 10 - 17
app/Libs/Zimbra/Components/Api/Soap/Connection.php

@@ -213,7 +213,7 @@ class Connection implements ConnectionInterface
                 'zimbraEmail',
                 __FUNCTION__,
                 $this,
-                "Debug4",
+                "Login",
                 $result
             );
     
@@ -281,14 +281,6 @@ class Connection implements ConnectionInterface
     public function request($request, $params = [], $options = [])
     {
 
-        logModuleCall(
-            'zimbraEmail',
-            __FUNCTION__,
-            $request,
-            "Debug7",
-            $params
-        );
-
       /**
          * headers
          */
@@ -298,17 +290,18 @@ class Connection implements ConnectionInterface
          */
         $response = $this->getResponseModel();
 
-        logModuleCall(
-            'zimbraEmail',
-            __FUNCTION__,
-            $soapHeader,
-            "Debug8",
-            $response
-        );
-
         /**
          * main request
          */
+    
+         logModuleCall(
+            'zimbraEmail',
+            $request,
+            $params,
+            "Debug",
+            $options
+        );
+    
         try
         {
 

+ 1 - 16
app/UI/Admin/ProductConfiguration/Providers/ProductConfigurationDataProvider.php

@@ -65,14 +65,6 @@ class ProductConfigurationDataProvider extends BaseDataProvider implements Admin
         /**
          * load params from previous version
          */
-        logModuleCall(
-            'zimbraEmail',
-            __FUNCTION__,
-            $this->data,
-            "Debug1",
-            ""
-        );
-
         $this->checkConfigOrLoadFromPrevious($this->getRequestValue('id'));
 
         $this->loadDefaultData();
@@ -126,18 +118,11 @@ class ProductConfigurationDataProvider extends BaseDataProvider implements Admin
             ClassOfServices::CLASS_OF_SERVICE_QUOTA => $this->getLang()->absoluteT('addonAA', 'configuration', 'product', 'zimbra', 'cos', 'Allow clients to choose Class Of Service Quota Per Account'),
         ];
 
+
         $manager    = new ZimbraManager();
         $repository = $manager->getApiByProduct($this->getRequestValue('id'))->soap->repository();
         $cosList        = $repository->cos->all();
 
-        logModuleCall(
-            'zimbraEmail',
-            __FUNCTION__,
-            $repository,
-            "Debug2",
-            $cosList
-        );
-
         /**
          * class of services from API
          */