Permalink
Browse files

Fix r2339 for release

  • Loading branch information...
1 parent 1233007 commit 75a09466ac6843b9dd861976105c1fc3177cb208 @thomascube thomascube committed Mar 10, 2009
Showing with 2 additions and 3 deletions.
  1. +0 −1 index.php
  2. +2 −2 program/steps/mail/check_recent.inc
View
@@ -183,7 +183,6 @@
'remove-attachment' => 'attachments.inc',
'display-attachment' => 'attachments.inc',
'upload' => 'attachments.inc',
- 'check-recent' => 'check_recent.inc',
),
'addressbook' => array(
@@ -66,8 +66,8 @@ foreach ($a_mailboxes as $mbox_name) {
}
}
}
- else if ($IMAP->messagecount($mbox_name, 'UNSEEN', $check_all)) {
- $OUTPUT->command('set_unread_count', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN', $check_all));
+ else if ($unseen = $IMAP->messagecount($mbox_name, 'UNSEEN', $check_all)) {
+ $OUTPUT->command('set_unread_count', $mbox_name, $unseen);
}
}

0 comments on commit 75a0946

Please sign in to comment.