summaryrefslogtreecommitdiff
path: root/program/steps/mail/check_recent.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-02-04 19:08:10 +0000
committerthomascube <thomas@roundcube.net>2006-02-04 19:08:10 +0000
commit58e3602a37cccab55f71fbf839b32fbc4322699c (patch)
tree4f48f72eb95d6ad7fb69ac09644e96f890bfded8 /program/steps/mail/check_recent.inc
parent76ffa2a099300325b34c92a9291dc4031b8a0d8a (diff)
Bugfixes for encoding and sending with attachments
Diffstat (limited to 'program/steps/mail/check_recent.inc')
-rw-r--r--program/steps/mail/check_recent.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/program/steps/mail/check_recent.inc b/program/steps/mail/check_recent.inc
index 3d0ceb2a9..0bde47ed8 100644
--- a/program/steps/mail/check_recent.inc
+++ b/program/steps/mail/check_recent.inc
@@ -30,7 +30,8 @@ if ($recent_count = $IMAP->messagecount(NULL, 'RECENT', TRUE))
$commands = sprintf("this.set_unread_count('%s', %d, true);\n", addslashes($mbox), $unread_count);
$commands .= sprintf("this.set_env('messagecount', %d);\n", $count);
$commands .= sprintf("this.set_rowcount('%s');\n", rcmail_get_messagecount_text());
-
+ $commands .= sprintf("this.set_quota('%s');\n", $IMAP->get_quota());
+
// add new message headers to list
$a_headers = array();
for ($i=$recent_count, $id=$count-$recent_count+1; $i>0; $i--, $id++)
@@ -44,4 +45,4 @@ if (strtoupper($mbox)!='INBOX' && $IMAP->messagecount('INBOX', 'RECENT'))
rcube_remote_response($commands);
-?> \ No newline at end of file
+?>