Thomas Bruederli
2015-05-22 5e9729437232a90f7a1ae8e7e29ab185ec8d4de9
Add new plugin hook 'identity_create_after' (#1490358)
2 files modified
3 ■■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/steps/settings/save_identity.inc 2 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -9,6 +9,7 @@
- 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)
program/steps/settings/save_identity.inc
@@ -159,6 +159,8 @@
        $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;