|
|
@@ -67,6 +67,7 @@ class UsageUpdate extends AddonController
|
|
|
|
|
|
Whmcs\Hosting::where('server', $serverId)->where('domain', $domainName)->update(['bwusage' => $mailboxes]);
|
|
|
Whmcs\Hosting::where('server', $serverId)->where('domain', $domainName)->update(['diskusage' => $storage]);
|
|
|
+ Whmcs\Hosting::where('server', $serverId)->where('domain', $domainName)->update(['lastupdate' => now()]);
|
|
|
usleep(5000);
|
|
|
} catch (KerioApiException $error) {
|
|
|
logModuleCall(
|