瀏覽代碼

better round in usageUpdate

andre 4 年之前
父節點
當前提交
5812d9f778
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      zimbraSingle.php

+ 2 - 2
zimbraSingle.php

@@ -263,8 +263,8 @@ function zimbraSingle_UsageUpdate($params) {
                 ->where('id', '=', $product['id'])
                 ->update(
                     array(
-                        'diskusage' => round($mboxSize / 1048576,2),
-                        'disklimit' => round($accountQuota / 1048576,2),
+                        'diskusage' => round($mboxSize / 1048576),
+                        'disklimit' => round($accountQuota / 1048576),
                         'lastupdate' => Capsule::raw('now()')
                     )
                 );