diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-06-30 12:26:15 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-06-30 12:26:15 +0200 |
commit | b8bcca7033b3d10eb7da4b7a1f9987ee9e25a45b (patch) | |
tree | 4d587c1a4b6f238a5e4ad2721a482346060ad482 /program/steps/mail/folders.inc | |
parent | 789a7b5fd5986b4815837bbbaa27c2d95030ce0c (diff) |
Display quota information for current folder not INBOX only (#1487993)
Diffstat (limited to 'program/steps/mail/folders.inc')
-rw-r--r-- | program/steps/mail/folders.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/folders.inc b/program/steps/mail/folders.inc index 519a41fdd..49bf25377 100644 --- a/program/steps/mail/folders.inc +++ b/program/steps/mail/folders.inc @@ -35,7 +35,7 @@ if ($RCMAIL->action == 'expunge') { $OUTPUT->show_message('folderexpunged', 'confirmation'); if (!empty($_REQUEST['_reload'])) { - $OUTPUT->command('set_quota', $RCMAIL->quota_content()); + $OUTPUT->command('set_quota', $RCMAIL->quota_content(null, $mbox)); $OUTPUT->command('message_list.clear'); $RCMAIL->action = 'list'; return; @@ -69,7 +69,7 @@ else if ($RCMAIL->action == 'purge') { $OUTPUT->command('message_list.clear'); $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text(), $mbox); $OUTPUT->command('set_unread_count', $mbox, 0); - $OUTPUT->command('set_quota', $RCMAIL->quota_content()); + $OUTPUT->command('set_quota', $RCMAIL->quota_content(null, $mbox)); rcmail_set_unseen_count($mbox, 0); // set trash folder state |