summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-02-12 11:41:17 +0000
committeralecpl <alec@alec.pl>2010-02-12 11:41:17 +0000
commit1e6b19ddd7e07e2224b3f31716ea82e55ad20970 (patch)
tree8a5a20d3bc4e597417f29306a8abba63a2df32f7 /program/steps
parent5d74e7c093ce5b0a161a28d412e57c40329813d4 (diff)
- Fix quota indicator value after folder purge/expunge (#1486488)
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/mail/folders.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/folders.inc b/program/steps/mail/folders.inc
index 73d4ae8c4..a4d71d2c0 100644
--- a/program/steps/mail/folders.inc
+++ b/program/steps/mail/folders.inc
@@ -32,6 +32,7 @@ if ($RCMAIL->action=='expunge' && ($mbox = get_input_value('_mbox', RCUBE_INPUT_
// reload message list if current mailbox
if ($success && !empty($_REQUEST['_reload']))
{
+ $OUTPUT->command('set_quota', rcmail_quota_content());
$OUTPUT->command('message_list.clear');
$RCMAIL->action = 'list';
return;
@@ -60,6 +61,7 @@ else if ($RCMAIL->action=='purge' && ($mbox = get_input_value('_mbox', RCUBE_INP
$OUTPUT->command('message_list.clear');
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text());
$OUTPUT->command('set_unread_count', $mbox_name, 0);
+ $OUTPUT->command('set_quota', rcmail_quota_content());
$_SESSION['unseen_count'][$mbox_name] = 0;
}
else