andre 4 years ago
parent
commit
222b5d89d6

+ 9 - 0
app/Libs/Zimbra/Components/Api/Soap/Services/Update/ChangePackage.php

@@ -48,6 +48,15 @@ class ChangePackage extends ApiService
             $acc_new = $this->formData['configoptions']['acc_new'];
             $acc_add = $acc_add + $acc_new;
             $acc_new = 0;
+
+            logModuleCall(
+                'zimbraEmail',
+                __FUNCTION__,
+                $acc_add,
+                'Debug',
+                $acc_base
+            );
+            
             $accountLimit = $acc_base + $acc_add;
             if (($this->productManager->get('acc_limit') > 0) && ($accountLimit > $this->productManager->get('acc_limit'))) {
                 $acc_add = $this->productManager->get('acc_limit') - $acc_base;