Browse Source

Bugfix: enable log

andre 2 years ago
parent
commit
10aa3e74eb

+ 8 - 0
app/Libs/Zimbra/Components/Api/Soap/Repository/Ressources.php

@@ -32,6 +32,14 @@ class Ressources extends AbstractRepository
 
 
         $result = $this->getClient()->ressource->getAllByDomain($domain);
         $result = $this->getClient()->ressource->getAllByDomain($domain);
 
 
+        logModuleCall(
+            'zimbraEmail',
+            __FUNCTION__,
+            $domain,
+            'Debug Ressource',
+            $result
+        );
+
         $ressources = $result->getResponseBody()['GETALLressourceSRESPONSE']['ressource'];
         $ressources = $result->getResponseBody()['GETALLressourceSRESPONSE']['ressource'];
         /**
         /**
          * API return one or araay with ressources
          * API return one or araay with ressources

+ 0 - 8
app/UI/Client/Ressource/Pages/Ressources.php

@@ -160,14 +160,6 @@ class Ressources extends DataTable implements ClientArea
             ->ressources
             ->ressources
             ->getByDomainName($hosting->domain);
             ->getByDomainName($hosting->domain);
         
         
-            logModuleCall(
-                'zimbraEmail',
-                __FUNCTION__,
-                $hosting,
-                'Debug Ressource',
-                $accounts
-            );
-    
         $productManager = new ProductManager();
         $productManager = new ProductManager();
         $productManager->loadByHostingId($hosting->id);
         $productManager->loadByHostingId($hosting->id);