Add ability to control the display of the "Check Spelling" button. Allows administrat...
[squirrelmail.git] / src / compose.php
index a192073dba9dd8dac3def5a025cf7790121d7c29..17d3be5612c295f4524005e34feca5c090f55f6d 100644 (file)
@@ -1781,6 +1781,9 @@ function deliverMessage(&$composeMessage, $draft=false) {
        it over to deliver; plugin authors note that $composeMessage
        is sent and modified by reference since 1.5.2 */
     do_hook('compose_send', $composeMessage);
+//TODO: need to migrate to the following, but it neessitates changes in existing plugins, since the args are now an array
+    //$temp = array(&$composeMessage, &$draft);
+    //do_hook('compose_send', $temp);
 
     if (!$useSendmail && !$draft) {
         require_once(SM_PATH . 'class/deliver/Deliver_SMTP.class.php');