Add new plugin hook 'identity_create_after' (#1490358)

pull/278/head
Thomas Bruederli 9 years ago committed by Thomas Bruederli
parent 0c08b04778
commit 5e97294372

@ -9,6 +9,7 @@ CHANGELOG Roundcube Webmail
- Plugin API: Added message_ready hook
- Plugin API: Add special onload() method to execute plugin actions before startup (session and GUI initialization)
- Implemented UI element to jump to specified page of the messages list (#1485235)
- Add new plugin hook 'identity_create_after' providing the ID of the inserted identity (#1490358)
- Add option to place signature at bottom of the quoted text even in top-posting mode [sig_below]
- Fix handling of %-encoded entities in mailto: URLs (#1490346)
- Fix zipped messages downloads after selecting all messages in a folder (#1490339)

@ -159,6 +159,8 @@ else if (IDENTITIES_LEVEL < 2) {
$insert_id = $plugin['result'];
if ($insert_id) {
$RCMAIL->plugins->exec_hook('identity_create_after', array('id' => $insert_id, 'record' => $save_data));
$OUTPUT->show_message('successfullysaved', 'confirmation', null, false);
$_GET['_iid'] = $insert_id;

Loading…
Cancel
Save