From 6d2714b3b3660f8a4efbb9c53e00b76245c2bcc2 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 11 Apr 2008 16:53:59 +0000 Subject: #1484972: optimization: mark as read in one action with preview, deleted redundant quota reads --- program/steps/mail/move_del.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/mail/move_del.inc') diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc index 3bc644f49..131ad2e4f 100644 --- a/program/steps/mail/move_del.inc +++ b/program/steps/mail/move_del.inc @@ -92,7 +92,7 @@ $OUTPUT->command('set_unread_count', $mbox, $IMAP->messagecount($mbox, 'UNSEEN') if ($_action=='moveto' && $target) $OUTPUT->command('set_unread_count', $target, $IMAP->messagecount($target, 'UNSEEN')); -$OUTPUT->command('set_quota', $IMAP->get_quota()); +$OUTPUT->command('set_quota', rcmail_quota_content($IMAP->get_quota())); // add new rows from next page (if any) if ($_POST['_from']!='show' && ($jump_back || $nextpage_count > 0)) -- cgit v1.2.3