Partially reverted r2339 + fix indentation
| | |
| | | 'remove-attachment' => 'attachments.inc', |
| | | 'display-attachment' => 'attachments.inc', |
| | | 'upload' => 'attachments.inc', |
| | | 'check-recent' => 'check_recent.inc', |
| | | ), |
| | | |
| | | 'addressbook' => array( |
| | |
| | | } |
| | | } |
| | | } |
| | | 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); |
| | | } |
| | | } |
| | | |