Move code that verifies template and theme settings AFTER plugin hook that might...
[squirrelmail.git] / src / view_text.php
index 07ba904a2e9811e9050d98af269c599ee1adaded..d86fe1782b61b0bc238ac56abd99a69dedc1dbc5 100644 (file)
@@ -54,8 +54,7 @@ $unsafe_url = set_url_var($unsafe_url, 'view_unsafe_images', 1);
 
 $body = mime_fetch_body($imapConnection, $passed_id, $ent_id);
 $body = decodeBody($body, $encoding);
-$hookResults = do_hook('message_body', $body);
-$body = $hookResults[1];
+do_hook('message_body', $body);
 
 if (isset($languages[$squirrelmail_language]['XTRA_CODE']) &&
     function_exists($languages[$squirrelmail_language]['XTRA_CODE'].'_decode')) {
@@ -86,4 +85,4 @@ $oTemplate->assign('body', $body);
 $oTemplate->display('view_text.tpl');
 
 $oTemplate->display('footer.tpl');
-?>
\ No newline at end of file
+?>