summaryrefslogtreecommitdiff
path: root/program/steps/mail/move_del.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-17 12:36:32 +0000
committeralecpl <alec@alec.pl>2009-09-17 12:36:32 +0000
commitcbeea3d4d092f6ae2310175a57fe15b43d608b33 (patch)
treeef4b728613e90b78532d937ba171b41d64acd07b /program/steps/mail/move_del.inc
parent78925f8f1a9afb9475a9cf9ad1b35daade23da85 (diff)
- some code improvements for r2959 change
Diffstat (limited to 'program/steps/mail/move_del.inc')
-rw-r--r--program/steps/mail/move_del.inc7
1 files changed, 1 insertions, 6 deletions
diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc
index 2a8cee633..30102d9d5 100644
--- a/program/steps/mail/move_del.inc
+++ b/program/steps/mail/move_del.inc
@@ -110,12 +110,7 @@ else
}
if ($RCMAIL->action=='moveto' && $target) {
- $unseen_count = $IMAP->messagecount($target, 'UNSEEN', true);
- $old_unseen = $_SESSION['unseen_count'][$target];
- if ($old_unseen != $unseen_count) {
- $OUTPUT->command('set_unread_count', $target, $unseen_count);
- $_SESSION['unseen_count'][$target] = $unseen_count;
- }
+ rcmail_send_unread_count($target, true);
}
$OUTPUT->command('set_quota', rcmail_quota_content($IMAP->get_quota()));