summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/settings/delete_identity.inc
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-08-09 06:35:10 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-08-09 06:35:10 +0000
commit1ed52942c6cc8dadd396f80405ce744d095a2947 (patch)
treeb9f836a3946ead5cc53e38f9b1e63c0ddd96f56c /roundcubemail/program/steps/settings/delete_identity.inc
parentf40b6d4e998cfebaf3076b90aecddd3a768f854b (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 git-svn-id: https://svn.roundcube.net/trunk@3883 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings/delete_identity.inc')
-rw-r--r--roundcubemail/program/steps/settings/delete_identity.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/settings/delete_identity.inc b/roundcubemail/program/steps/settings/delete_identity.inc
index a62a0524e..06bcab906 100644
--- a/roundcubemail/program/steps/settings/delete_identity.inc
+++ b/roundcubemail/program/steps/settings/delete_identity.inc
@@ -30,7 +30,7 @@ if (!$OUTPUT->ajax_call && !$RCMAIL->check_request(RCUBE_INPUT_GPC)) {
if ($iid && preg_match('/^[0-9]+(,[0-9]+)*$/', $iid))
{
- $plugin = $RCMAIL->plugins->exec_hook('delete_identity', array('id' => $iid));
+ $plugin = $RCMAIL->plugins->exec_hook('identity_delete', array('id' => $iid));
if (!$plugin['abort'] && $USER->delete_identity($iid)) {
$OUTPUT->show_message('deletedsuccessfully', 'confirmation', null, false);