alecpl
2009-09-17 cbeea3d4d092f6ae2310175a57fe15b43d608b33
program/steps/mail/move_del.inc
@@ -110,12 +110,7 @@
  }
  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()));