Changeset 6021 in subversion


Ignore:
Timestamp:
Mar 16, 2012 4:23:53 PM (14 months ago)
Author:
thomasb
Message:

Pass message UID to 'message_part_get' hook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/get.inc

    r5787 r6021  
    8686    // allow post-processing of the message body 
    8787    $plugin = $RCMAIL->plugins->exec_hook('message_part_get', 
    88       array('id' => $part->mime_id, 'mimetype' => $mimetype, 'part' => $part, 'download' => !empty($_GET['_download']))); 
     88      array('uid' => $MESSAGE->uid, 'id' => $part->mime_id, 'mimetype' => $mimetype, 'part' => $part, 'download' => !empty($_GET['_download']))); 
    8989 
    9090    if ($plugin['abort']) 
Note: See TracChangeset for help on using the changeset viewer.