From e6ce0062f2331b8756cc91944ceaea8d7cbffd18 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 30 Jul 2010 02:34:02 -0400 Subject: [PATCH] - Unify hooks names, see rcube_plugin_api::deprecated_hooks for complete list (old names are supported without errors nor warnings) --- program/steps/addressbook/copy.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/steps/addressbook/copy.inc b/program/steps/addressbook/copy.inc index 1b93872..679e999 100644 --- a/program/steps/addressbook/copy.inc +++ b/program/steps/addressbook/copy.inc @@ -37,7 +37,7 @@ $ids = array(); foreach ($arr_cids as $cid) { - $plugin = $RCMAIL->plugins->exec_hook('create_contact', array( + $plugin = $RCMAIL->plugins->exec_hook('contact_create', array( 'record' => $CONTACTS->get_record($cid, true), 'source' => $target, 'group' => $target_group, -- Gitblit v1.9.1