|
|
@@ -238,16 +238,16 @@ function zimbraSingle_UsageUpdate($params) {
|
|
|
->where('server', '=', $params['serverid'])
|
|
|
->where('domainstatus', '=', 'Active')
|
|
|
->get();
|
|
|
- logModuleCall(
|
|
|
- 'zimbrasingle',
|
|
|
- __FUNCTION__,
|
|
|
- $productsObj,
|
|
|
- 'Debug',
|
|
|
- $params
|
|
|
- );
|
|
|
foreach((array)$productsObj as $productObj) {
|
|
|
$product = get_object_vars($productObj[0]);
|
|
|
$accountQuota = $apiAccountManager->getQuota($product['username']);
|
|
|
+ logModuleCall(
|
|
|
+ 'zimbrasingle',
|
|
|
+ __FUNCTION__,
|
|
|
+ $product,
|
|
|
+ 'Debug',
|
|
|
+ $accountQuota
|
|
|
+ );
|
|
|
if(is_a($accountQuota, 'Exception')) {
|
|
|
logModuleCall(
|
|
|
'zimbrasingle',
|