From 0d277ef01bbd12c1535826d2ea9c1d443675e65b Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 6 May 2011 10:07:25 +0000 Subject: - Plugin API: Add name and parent_name arguments to folder_form hook --- program/steps/settings/edit_folder.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'program/steps/settings') diff --git a/program/steps/settings/edit_folder.inc b/program/steps/settings/edit_folder.inc index c57ec69d7..bc4310310 100644 --- a/program/steps/settings/edit_folder.inc +++ b/program/steps/settings/edit_folder.inc @@ -228,7 +228,8 @@ function rcube_folder_form($attrib) // Allow plugins to modify folder form content $plugin = $RCMAIL->plugins->exec_hook('folder_form', - array('form' => $form, 'options' => $options)); + array('form' => $form, 'options' => $options, + 'name' => $mbox_imap, 'parent_name' => $parent_imap)); $form = $plugin['form']; -- cgit v1.2.3