summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-27 13:18:47 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-27 13:18:47 +0200
commita3e01c0517ff345dcae04f9b0cb16d3f29acd2e1 (patch)
tree24a7573ac19d73dac8c1939cc19fa3af13f23c9c
parent49dad5f669965ca6149c2d759ede2a91fa571149 (diff)
Plugin API: Add folder and uid arguments to message_headers_output hook
-rw-r--r--program/steps/mail/func.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 54adf6b8b..50b1e8292 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1055,7 +1055,9 @@ function rcmail_message_headers($attrib, $headers=null)
$plugin = $RCMAIL->plugins->exec_hook('message_headers_output', array(
'output' => $output_headers,
'headers' => $headers_obj,
- 'exclude' => $exclude_headers
+ 'exclude' => $exclude_headers, // readonly
+ 'folder' => $MESSAGE->folder, // readonly
+ 'uid' => $MESSAGE->uid, // readonly
));
// single header value is requested