Aleksander Machniak
2014-05-27 a3e01c0517ff345dcae04f9b0cb16d3f29acd2e1
Plugin API: Add folder and uid arguments to message_headers_output hook
1 files modified
4 ■■■ changed files
program/steps/mail/func.inc 4 ●●● patch | view | raw | blame | history
program/steps/mail/func.inc
@@ -1055,7 +1055,9 @@
    $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