From: Tyler A. <fi...@us...> - 2001-10-08 21:47:30
|
Update of /cvsroot/squirrelmail/squirrelmail/functions In directory usw-pr-cvs1:/tmp/cvs-serv5668 Modified Files: mime.php Log Message: Added the hook! Index: mime.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/functions/mime.php,v retrieving revision 1.121 retrieving revision 1.122 diff -u -w -r1.121 -r1.122 --- mime.php 2001/10/04 14:31:57 1.121 +++ mime.php 2001/10/08 21:47:28 1.122 @@ -549,6 +549,8 @@ $body = mime_fetch_body ($imap_stream, $id, $ent_num); $body = decodeBody($body, $body_message->header->encoding); + $hookResults = do_hook("message_body", $body); + $body = $hookResults[1]; // If there are other types that shouldn't be formatted, add // them here |