Ver Fonte

Bugfix: enable log

andre há 2 anos atrás
pai
commit
6238d3b08d

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

@@ -101,15 +101,6 @@ class Ressources extends AbstractRepository
         $ressource->setId($id);
 
         $result = $this->getClient()->ressource->getRessourceInfo($ressource);
-
-        logModuleCall(
-            'zimbraEmail',
-            __FUNCTION__,
-            $ressource,
-            'Debug Ressource',
-            $result
-        );
-
         if(!$result->getLastError())
         {
             $body = $result->getResponseBody();

+ 9 - 1
app/UI/Client/Ressource/Pages/Ressources.php

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