From c3347e7aa138c31abbb519920b437ca4abac0175 Mon Sep 17 00:00:00 2001 From: Marius Burkard Date: Fri, 16 Oct 2020 14:35:43 +0200 Subject: [PATCH] Update limits.php --- interface/web/dashboard/dashlets/limits.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/interface/web/dashboard/dashlets/limits.php b/interface/web/dashboard/dashlets/limits.php index a299bbcaf..2a5867e29 100644 --- a/interface/web/dashboard/dashlets/limits.php +++ b/interface/web/dashboard/dashlets/limits.php @@ -1,9 +1,7 @@ grab(); } - public function _get_limit_usage($limit) - { + public function _get_limit_usage($limit){ global $app; $sql = "SELECT count(sys_userid) as number FROM ?? WHERE "; @@ -200,8 +197,7 @@ class dashlet_limits return $rec['number']; } - public function _get_assigned_quota($limit) - { + public function _get_assigned_quota($limit) { global $app; $sql = "SELECT sum(??) as number FROM ?? WHERE "; -- GitLab