summaryrefslogtreecommitdiff
path: root/program/steps/mail/move_del.inc
diff options
context:
space:
mode:
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()));