- Plugin API: added 'ready' hook (#1488073)

release-0.7
alecpl 13 years ago
parent fb40f37784
commit 3703021713

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Plugin API: added 'ready' hook (#1488073)
- Ignore DSN request when it isn't supported by SMTP server (#1487800)
- Make sure LDAP name fields aren't arrays (#1488108)
- Fixed imap test to non-default port when using ssl (#1488118)

@ -214,6 +214,12 @@ else {
}
}
// we're ready, user is authenticated and the request is safe
$plugin = $RCMAIL->plugins->exec_hook('ready', array('task' => $RCMAIL->task, 'action' => $RCMAIL->action));
$RCMAIL->set_task($plugin['task']);
$RCMAIL->action = $plugin['action'];
// handle special actions
if ($RCMAIL->action == 'keep-alive') {
$OUTPUT->reset();

Loading…
Cancel
Save