summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-05-06 10:07:25 +0000
committeralecpl <alec@alec.pl>2011-05-06 10:07:25 +0000
commit0d277ef01bbd12c1535826d2ea9c1d443675e65b (patch)
treef40133ba1ca89c216512c6377ef718995dab3489
parent0deec44e7dfc2c23bf9cae9af01fc68f3ed72c42 (diff)
- Plugin API: Add name and parent_name arguments to folder_form hook
-rw-r--r--program/steps/settings/edit_folder.inc3
1 files changed, 2 insertions, 1 deletions
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'];