Forráskód Böngészése

debug usageupdate

andre 4 éve
szülő
commit
4b0de8a73a
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      zimbraSingle.php

+ 3 - 3
zimbraSingle.php

@@ -240,14 +240,14 @@ function zimbraSingle_UsageUpdate($params) {
         ->get();
     foreach((array)$productsObj as $productObj) {
         $product = get_object_vars($productObj[0]);
-        $accountQuota = $apiAccountManager->getQuota($product['username']);
         logModuleCall(
             'zimbrasingle',
             __FUNCTION__,
-            $product,
+            $productObj,
             'Debug',
-            $accountQuota
+            $product
         );
+        $accountQuota = $apiAccountManager->getQuota($product['username']);
         if(is_a($accountQuota, 'Exception')) {
             logModuleCall(
                 'zimbrasingle',