@@ -32,6 +32,14 @@ class Ressources extends AbstractRepository
$result = $this->getClient()->ressource->getAllByDomain($domain);
+ logModuleCall(
+ 'zimbraEmail',
+ __FUNCTION__,
+ $domain,
+ 'Debug Ressource',
+ $result
+ );
+
$ressources = $result->getResponseBody()['GETALLressourceSRESPONSE']['ressource'];
/**
* API return one or araay with ressources
@@ -160,14 +160,6 @@ class Ressources extends DataTable implements ClientArea
->ressources
->getByDomainName($hosting->domain);
- logModuleCall(
- 'zimbraEmail',
- __FUNCTION__,
- $hosting,
- 'Debug Ressource',
- $accounts
- );
-
$productManager = new ProductManager();
$productManager->loadByHostingId($hosting->id);