From 1d773d71414316e0b9836a15c35576593427ee21 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Thu, 01 Apr 2010 02:40:32 -0400 Subject: [PATCH] Fix typo --- program/steps/addressbook/groups.inc | 2 +- program/localization/en_US/messages.inc | 1 - 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/program/localization/en_US/messages.inc b/program/localization/en_US/messages.inc index 0152ceb..f87cfb5 100644 --- a/program/localization/en_US/messages.inc +++ b/program/localization/en_US/messages.inc @@ -97,7 +97,6 @@ $messages['addresswriterror'] = 'The selected address book is not writeable'; $messages['contactaddedtogroup'] = 'Successfully added the contacts to this group'; $messages['contactremovedfromgroup'] = 'Successfully remove contacts from this group'; - $messages['importwait'] = 'Importing, please wait...'; $messages['importerror'] = 'Import failed! The uploaded file is not a valid vCard file.'; $messages['importconfirm'] = '<b>Successfully imported $inserted contacts, $skipped existing entries skipped</b>:<p><em>$names</em></p>'; diff --git a/program/steps/addressbook/groups.inc b/program/steps/addressbook/groups.inc index f69501b..c853ced 100644 --- a/program/steps/addressbook/groups.inc +++ b/program/steps/addressbook/groups.inc @@ -29,7 +29,7 @@ if ($RCMAIL->action == 'group-addmembers') { if (($gid = get_input_value('_gid', RCUBE_INPUT_POST)) && ($ids = get_input_value('_cid', RCUBE_INPUT_POST))) { - $plugin = $RCMAIL->plugins->exec_hook('group_addmember', array('group_id' => $gid, 'ids' => $ids, 'source' => $source)); + $plugin = $RCMAIL->plugins->exec_hook('group_addmembers', array('group_id' => $gid, 'ids' => $ids, 'source' => $source)); if (!$plugin['abort'] && $CONTACTS->add_to_group($gid, $plugin['ids'])) $OUTPUT->show_message('contactaddedtogroup'); -- Gitblit v1.9.1