ソースを参照

bugfix UsageUpdate

andre 2 年 前
コミット
26e337e324
1 ファイル変更1 行追加0 行削除
  1. 1 0
      app/Http/Actions/UsageUpdate.php

+ 1 - 0
app/Http/Actions/UsageUpdate.php

@@ -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(