@@ -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();
@@ -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);