浏览代码

Note future change

pdontthink 8 年之前
父节点
当前提交
8e30e0133f
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/compose.php

+ 3 - 0
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');