andre 2 лет назад
Родитель
Сommit
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(