andre 2 rokov pred
rodič
commit
26e337e324
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  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(['bwusage' => $mailboxes]);
                 Whmcs\Hosting::where('server', $serverId)->where('domain', $domainName)->update(['diskusage' => $storage]);
                 Whmcs\Hosting::where('server', $serverId)->where('domain', $domainName)->update(['diskusage' => $storage]);
+                Whmcs\Hosting::where('server', $serverId)->where('domain', $domainName)->update(['lastupdate' => now()]);
                 usleep(5000);
                 usleep(5000);
             } catch (KerioApiException $error) {
             } catch (KerioApiException $error) {
                 logModuleCall(
                 logModuleCall(