andre 2 лет назад
Родитель
Сommit
5b9ed8dcbe
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      app/Http/Actions/UsageUpdate.php

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

@@ -69,6 +69,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(['diskusage' => $storage]);
 
+                logModuleCall(
+                    'kerioEmail',
+                    __FUNCTION__,
+                    $storage,
+                    'Debug Usage',
+                    $mailboxes
+                );
+
                 usleep(5000);
             }
             catch (\Exception $ex)