summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/check_recent.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-11 16:53:59 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-04-11 16:53:59 +0000
commitdb187a17682cacef785f8c95e4bbe0c700b623d6 (patch)
treeb560567c3e755d5548236e79b71eed66ac37e559 /roundcubemail/program/steps/mail/check_recent.inc
parente900cbd0fc910708c927aa40d85f652c6e08ea37 (diff)
#1484972: optimization: mark as read in one action with preview, deleted redundant quota reads
git-svn-id: https://svn.roundcube.net/trunk@1285 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/check_recent.inc')
-rw-r--r--roundcubemail/program/steps/mail/check_recent.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/check_recent.inc b/roundcubemail/program/steps/mail/check_recent.inc
index 3e0301613..dee8ca61b 100644
--- a/roundcubemail/program/steps/mail/check_recent.inc
+++ b/roundcubemail/program/steps/mail/check_recent.inc
@@ -37,7 +37,7 @@ foreach ($a_mailboxes as $mbox_name)
$OUTPUT->set_env('messagecount', $IMAP->messagecount());
$OUTPUT->command('set_unread_count', $mbox_name, $unread_count, ($mbox_name == 'INBOX'));
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text());
- $OUTPUT->command('set_quota', $IMAP->get_quota());
+ $OUTPUT->command('set_quota', rcmail_quota_content($IMAP->get_quota()));
// add new message headers to list
$a_headers = array();