summaryrefslogtreecommitdiff
path: root/program/steps/settings/save_identity.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-08-09 06:35:10 +0000
committeralecpl <alec@alec.pl>2010-08-09 06:35:10 +0000
commit119ad13d74388ed62144724ac22e7cc24588eb6b (patch)
treeb7f1cbc9871c780d0571b6347bc81c8ca3e06430 /program/steps/settings/save_identity.inc
parent03dbf37d5cfe46ad0441f9916e6f22d5de20bcab (diff)
- Rename hooks: contact_save -> contact_update, identity_save -> identity_update, delete_identity -> identity_delete
- Print warning to the log about deprecated hook names usage
Diffstat (limited to 'program/steps/settings/save_identity.inc')
-rw-r--r--program/steps/settings/save_identity.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/save_identity.inc b/program/steps/settings/save_identity.inc
index 53cd516da..6c2cd8136 100644
--- a/program/steps/settings/save_identity.inc
+++ b/program/steps/settings/save_identity.inc
@@ -61,7 +61,7 @@ if (IDENTITIES_LEVEL == 1 || IDENTITIES_LEVEL == 3)
if ($_POST['_iid'])
{
$iid = get_input_value('_iid', RCUBE_INPUT_POST);
- $plugin = $RCMAIL->plugins->exec_hook('identity_save', array('id' => $iid, 'record' => $save_data));
+ $plugin = $RCMAIL->plugins->exec_hook('identity_update', array('id' => $iid, 'record' => $save_data));
$save_data = $plugin['record'];
if (!$plugin['abort'] && ($updated = $USER->update_identity($iid, $save_data)))