andre %!s(int64=2) %!d(string=hai) anos
pai
achega
7f1d5e554e
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      app/Http/Actions/UsageUpdate.php

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

@@ -56,6 +56,14 @@ 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]);
 
 
+                logModuleCall(
+                    'kerioEmail',
+                    __FUNCTION__,
+                    $mailboxes,
+                    'Debug UsageUpdate',
+                    $storage
+                );
+
                 usleep(5000);
                 usleep(5000);
             }
             }
             catch (\Exception $ex)
             catch (\Exception $ex)