diff options
author | alecpl <alec@alec.pl> | 2010-07-30 06:34:02 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-07-30 06:34:02 +0000 |
commit | e6ce0062f2331b8756cc91944ceaea8d7cbffd18 (patch) | |
tree | 1005f3248c2dc0eb12a7587c19c2bf5181ac7fc8 /program/steps/addressbook/delete.inc | |
parent | ee09d464a86a75958e1b61f230e0f0294e929a7e (diff) |
- Unify hooks names, see rcube_plugin_api::deprecated_hooks for complete list (old names are supported without errors nor warnings)
Diffstat (limited to 'program/steps/addressbook/delete.inc')
-rw-r--r-- | program/steps/addressbook/delete.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/delete.inc b/program/steps/addressbook/delete.inc index ba0ac0fad..90719732f 100644 --- a/program/steps/addressbook/delete.inc +++ b/program/steps/addressbook/delete.inc @@ -23,7 +23,7 @@ if ($OUTPUT->ajax_call && ($cid = get_input_value('_cid', RCUBE_INPUT_POST)) && preg_match('/^[a-zA-Z0-9\+\/=_-]+(,[a-zA-Z0-9\+\/=_-]+)*$/', $cid) ) { - $plugin = $RCMAIL->plugins->exec_hook('delete_contact', array('id' => $cid, 'source' => get_input_value('_source', RCUBE_INPUT_GPC))); + $plugin = $RCMAIL->plugins->exec_hook('contact_delete', array('id' => $cid, 'source' => get_input_value('_source', RCUBE_INPUT_GPC))); $deleted = !$plugin['abort'] ? $CONTACTS->delete($cid) : false; if (!$deleted) |