diff options
author | thomascube <thomas@roundcube.net> | 2006-09-01 13:43:14 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-09-01 13:43:14 +0000 |
commit | 3ea0e3202a73eb7efcbf0b825582a6d3504658aa (patch) | |
tree | 1ec2e9f514a4b294bcf35450537ce9b1d01fb8f1 /program/include/rcube_imap.inc | |
parent | ea206d3d9299ce32996dcd24d49790e36f2b89a2 (diff) |
Quota display as image
Diffstat (limited to 'program/include/rcube_imap.inc')
-rw-r--r-- | 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 4e1719736..05de6773a 100644 --- a/program/include/rcube_imap.inc +++ b/program/include/rcube_imap.inc @@ -1463,12 +1463,8 @@ class rcube_imap 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; } |