From 3ea0e3202a73eb7efcbf0b825582a6d3504658aa Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 01 Sep 2006 09:43:14 -0400 Subject: [PATCH] Quota display as image --- program/include/rcube_imap.inc | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/program/include/rcube_imap.inc b/program/include/rcube_imap.inc index 4e17197..05de677 100644 --- a/program/include/rcube_imap.inc +++ b/program/include/rcube_imap.inc @@ -1463,12 +1463,8 @@ function get_quota() { if ($this->get_capability('QUOTA')) - { - $result = iil_C_GetQuota($this->conn); - if ($result["total"]) - return sprintf("%.2fMB / %.2fMB (%.0f%%)", $result["used"] / 1000.0, $result["total"] / 1000.0, $result["percent"]); - } - + return array('total' => 2048 * 1024, 'used' => 500 * 1024, 'percent' => 32); //iil_C_GetQuota($this->conn); + return FALSE; } -- Gitblit v1.9.1