Explorar o código

bugfix usageupdate

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
020d2a0600
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      zimbraSingle.php

+ 7 - 0
zimbraSingle.php

@@ -238,6 +238,13 @@ function zimbraSingle_UsageUpdate($params) {
         ->where('server', '=', $params['serverid'])
         ->where('domainstatus', '=', 'Active')
         ->get();
+    logModuleCall(
+        'zimbrasingle',
+        __FUNCTION__,
+        $productsObj,
+        'Debug',
+        (array)$productsObj[0]
+    );
     foreach((array)$productsObj as $productArray) {
         foreach($productArray as $product) {
             $accountQuota = $apiAccountManager->getQuota($product->username);