From: pdontthink Date: Sat, 28 Jan 2017 04:11:30 +0000 (+0000) Subject: Note future change X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;ds=sidebyside;h=6654098883ee3a5b5ca49b54020a743c3ef4a46c;p=squirrelmail.git Note future change git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14648 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/compose.php b/src/compose.php index a192073d..17d3be56 100644 --- a/src/compose.php +++ b/src/compose.php @@ -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');