소스 검색

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(