Implemented new_messages plugin hook (#1486005)

release-0.6
thomascube 16 years ago
parent 7ef47e59a9
commit dc1dbc478d

@ -1,6 +1,8 @@
CHANGELOG RoundCube Webmail
===========================
- Added 'new_messages' plugin hook (#1486005)
- Added 'logout_after' plugin hook (#1486042)
- Added 'message_compose' hook
- Added 'imap_connect' hook (#1485956)
- Fix vcard_attachments plugin (#1486035)

@ -47,6 +47,9 @@ foreach ($a_mailboxes as $mbox_name) {
if (!empty($_GET['_quota']))
$OUTPUT->command('set_quota', rcmail_quota_content($IMAP->get_quota()));
// trigger plugin hook
$RCMAIL->plugins->exec_hook('new_messages', array('mailbox' => $mbox_name, 'count' => $unread_count));
// "No-list" mode, don't get messages
if (empty($_GET['_list']))
continue;

Loading…
Cancel
Save