|
|
@@ -220,10 +220,14 @@ function zimbraSingle_ClientArea($params)
|
|
|
);
|
|
|
}
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* Usage Update
|
|
|
- * Info: https://developers.whmcs.com/provisioning-modules/usage-update/
|
|
|
+ *
|
|
|
+ * Important: Runs daily per server not per product
|
|
|
* Run Manually: /admin/reports.php?report=disk_usage_summary&action=updatestats
|
|
|
+ * @param array $params common module parameters
|
|
|
+ *
|
|
|
+ * @see https://developers.whmcs.com/provisioning-modules/usage-update/
|
|
|
*/
|
|
|
function zimbraSingle_UsageUpdate($params) {
|
|
|
$api = new Zm_Auth($params['serverip'], $params['serverusername'], $params['serverpassword'], "admin");
|